version 6.0.5
OC GET DRIVER CAPABILITIES (login_ID; command_ID)
| Parameter | Type | Description | |
| login_ID | Longint | Login ID | |
| command_ID | Integer | ID of the 4D ODBC call |
Description
The OC GET DRIVER CAPABILITIES command allows you to learn which 4D ODBC command will be available by querying the driver on which ODBC calls are supported. The result is displayed in the Debugger window.
Another way to use this command is to ask for a specific 4D ODBC command by passing the command_ID as a parameter.
| 4D ODBC call | ID |
| OC Login dialog | 1 |
| OC Login | 2 |
| OC LOGOUT | 3 |
| OC Query exec | 4 |
| OC Execute SQL | 5 |
| OC Clone 4D table | 6 |
| OC Create cursor | 7 |
| OC DROP CURSOR | 8 |
| OC SET CURSOR NAME | 9 |
| OC Get cursor name | 10 |
| OC Set SQL in Cursor | 11 |
| OC Execute cursor | 12 |
| OC Execute direct cursor | 13 |
| OC Bind | 14 |
| OC Load row | 15 |
| OC More results | 16 |
| OC Number of columns | 17 |
| OC Describe column | 18 |
| OC Column attributes | 19 |
| OC Number rows processed | 20 |
| OC Create context dialog | 21 |
| OC Create context | 22 |
| OC DROP CONTEXT | 23 |
| OC ADD TO CONTEXT | 24 |
| OC Load context file | 25 |
| OC Load context picture | 26 |
| OC SAVE CONTEXT FILE | 27 |
| OC Save context picture | 28 |
| OC EDIT CLAUSES IN CONTEXT | 29 |
| OC SET CLAUSE IN CONTEXT | 30 |
| OC Get clause in context | 31 |
| OC Activate context | 32 |
| OC DEACTIVATE CONTEXT | 33 |
| OC First in context | 34 |
| OC GET DRIVER CAPABILITIES | 35 |
| OC Previous in context | 36 |
| OC Last in context | 37 |
| OC Goto in context | 38 |
| OC Load rows context | 39 |
| OC Update in context | 40 |
| OC Insert in context | 41 |
| OC Delete in context | 42 |
| OC Get info | 43 |
| OC Get function | 44 |
| OC GET TYPE INFO LIST | 45 |
| OC Get login option | 46 |
| OC Set login option | 47 |
| OC Get cursor option | 48 |
| OC Set cursor option | 49 |
| OC GET DSN LIST | 50 |
| OC GET TABLE LIST | 51 |
| OC GET COLUMN LIST | 52 |
| OC GET PRIMARY KEY LIST | 53 |
| OC GET TABLE PRIVILEGE LIST | 54 |
| OC GET COLUMN PRIVILEGE LIST | 55 |
| OC GET PROCEDURE LIST | 56 |
| OC GET PROCEDURE COLUMN LIST | 57 |
| OC CANCEL LOADING | 58 |
| OC TRANSACT COMMAND | 59 |
| OC OPEN DEBUG WINDOW | 60 |
| OC CLOSE DEBUG WINDOW | 61 |
| OC DEBUG MESSAGE | 62 |
| OC SET ERROR HANDLER | 63 |
| OC Bind parameter | 64 |
| OC Describe parameter | 65 |
| OC Number of parameters | 66 |
| OC Clone ODBC table | 67 |
| OC Check configuration | 68 |
| OC Next in context | 69 |
| OC SET PACK OPTIONS | 70 |
| OC Get pack options | 71 |
| OC GET TYPE INFO | 72 |