TFormer_SetDataFile

Provide Data · String encodings

Definition

Windows: ANSI; Unix: UTF-8

ERRCODE TFormer_SetDataFile(HTFORM pInstance, LPCSTR pszFileName);

Windows only: UTF-16

ERRCODE TFormer_SetDataFileW(HTFORM pInstance, LPCWSTR pszFileName);

Contract

Sets a XML file (in the format used internally by TFORMer) as JobData.

The specified file conform to the internal TFORMer format and is created with the function TFormer_SaveXml. Normally this function is not required by users.

Returns

ErrOk (0) in case of success, non-zero if an error occurred

Parameters

Parameter / typeDescription
pInstanceHTFORM


The TFORMer instance provided by a previous call to TFormer_Init

pszFileNameLPCSTR / LPCWSTR


Filename (in internal TFORMer XML format)

Remark

Instead, check out the functions TFormer_SetTxtDataFile, TFormer_SetXmlDataFile or TFormer_SetODBCData.

Search documentation

Search in
More scopes
Additional scopes

All contents