TFormer_SetTxtDataFile
Provide Data · String encodings
Definition
Windows: ANSI; Unix: UTF-8
ERRCODE TFormer_SetTxtDataFile(HTFORM pInstance, LPCSTR pszFileName, CHAR cSeparator, CHAR cTextQualifier);
Windows only: UTF-16
ERRCODE TFormer_SetTxtDataFileW(HTFORM pInstance, LPCWSTR pszFileName, WCHAR cSeparator, WCHAR cTextQualifier);
Contract
Specifies a text file (CSV, TSV, ...) as JobData.
The column names used in the text file must match the DataField names in the FormLayout
Returns
ErrOk (0) in case of success, non-zero if an error occurred
Parameters
| Parameter / type | Description |
|---|---|
pInstanceHTFORM |
|
pszFileNameLPCSTR / LPCWSTR |
|
cSeparatorCHAR / WCHAR |
|
cTextQualifierCHAR / WCHAR |
|