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 / type | Description |
|---|---|
pInstanceHTFORM |
|
pszProjectNameLPCSTR / LPCWSTR |
|
pszVarNameLPCSTR / LPCWSTR |
|
Note
Deleting a DataField which is still in use by FormLayouts will make these FormLayouts unusable!