TFormer_DeleteVar

Repository Access · String encodings

Definition

Windows: ANSI; Unix: UTF-8

ERRCODE TFormer_DeleteVar(HTFORM pInstance, LPCSTR pszProjectName, LPCSTR pszVarName);

Windows only: UTF-16

ERRCODE TFormer_DeleteVarW(HTFORM pInstance, LPCWSTR pszProjectName, LPCWSTR pszVarName);

Contract

Deletes a DataField from the specified Project.

If no Project is specified, the DataField will be removed from the global Project.

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

pszProjectNameLPCSTR / LPCWSTR


The name of the Project (may be NULL for global DataFields)

pszVarNameLPCSTR / LPCWSTR


The name of the DataField to be deleted

Note

Deleting a DataField which is still in use by FormLayouts will make these FormLayouts unusable!

Search documentation

Search in
More scopes
Additional scopes

All contents