version 1.5
OP Count fields (connectionID; tableID; nbOfFields) Longint
Parameter | Type | Description | |
connectionID | Longint | Connection ID with target server | |
tableID | Longint | Number of the table in the database | |
nbOfFields | Longint | Number of fields for target table | |
Function result | Longint | Error code result for the function |
Description
OP Count fields returns in nbOfFields the number of fields in tableID.
Error Codes
If OP Count fields executes successfully, it return 0. Otherwise, this function returns one of the following errors:
Error Code | Description |
-9972 | Table number is out of range. |
10128 | The 4D Open for 4th Dimension package has not been initialized. |
10136 | The connection does not exist. |
10154 | This command cannot be executed right now. |
See Also
Count fields, OP Count tables.