|
ds_GetFormObjectMethodIDs |
|---|
| ds_GetFormObjectMethodIDs (formID; IDs; varNames {; pageNums}) <- errorCode | |||
|---|---|---|---|
| Parameter | Type | Description | |
| -> | formID | Numeric | Form ID |
| <- | IDs | Numeric Array | Object Method IDs |
| <- | varNames | String/Text Array | Names of variables |
| <- | pageNums | Numeric Array | Page number containing the object |
| <- | errorCode | Long Integer | Error Code (0 = no error) |
This routine loads information about objects methods of the form whose ID is formID (you get form IDs with ds_GetFormNames) into synchronised arrays:
ds_MethodToText for instance) NOTICE: field names are formated using this naming convention: number of the table in 3 chars + number of the field in 3 chars. When the table is the table of the form, its number is 0 (it is formated "000")
Examples:
It is up to the developer to extract the numbers and build the full name of the field.
To load all of the objects method in the database in one run use ds_GetObjectMethodIDs.