|
ds_GetObjectMethodIDs |
|---|
| ds_GetObjectMethodIDs (IDs; varNames; formIDs {; pageNums}) <- errorCode | |||
|---|---|---|---|
| Parameter | Type | Description | |
| <- | IDs | Numeric Array | IDs of object methods |
| <- | varNames | String/Text Array | Names of variables |
| <- | formIDs | Numeric Array | Form IDs |
| <- | pageNums | Numeric Array | Page number containing the object |
| <- | errorCode | Long Integer | Error Code (0 = no error) |
This routine loads in synchronised arrays information about all objects methods of the structure file:
NOTICE: fields names are formated using this naming convention: number of the table on 3 chars + number of the field on 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 the objects of one single form, use the ds_GetFormObjectMethodIDs routine.
Version 1.1: Names can be loaded less or more quickly, given less or more time to the 4D scheduler, using the ds_Preferences routine. Because loading a lot of methods on slow computers can take several seconds, and may not give the hand to the 4D scheduler. In this situation, the user may think its machine is frozen while it is busy.