This function is provided when using Adelia Print Engine.
It is used to clear a data model identified by its name.
This will no longer contain any key pairs (Adelia ALPHA/value type (all Adelia types)).
Remember: the VaToolBx dll must already be loaded (
LOAD_DLL
instruction) when this function is called and must remain loaded when the VaToolBxAPEMergeDoc, VaToolBxAPETransformDoc, VaToolBxAPEAddInDataModel or VaToolBxAPEMergeAndTransformDoc functions are called.
Application area
- Java client,
- Java server,
- Adelia Web client,
- Adelia Cloud client.
Parameters
ALPHA(n) |
ModelName |
Data model name. |
NUM_BIN_2 |
ReturnCode |
Operation return code: 0: Operation completed successfully. -1: The data model name cannot be empty. -2: The data model name does not correspond to any previously created data models. |
For example
ALPHA(10) |
DNPrintModel |
NUM_BIN_2 |
returnCode |
DNPrintModel = 'DNdata'
CALL_DLL 'VaToolbx.dll' ' VaToolBxAPEClearDataModel ' DNPrintModel returnCode