Login Commands, Introduction

4D - Documentation   Français   English   German   4D ODBC, Command Theme List   4D ODBC, Command Alphabetical List   Back   Previous   Next

version 1.5


The commands in this chapter enable you to login and logout from the ODBC data source and perform several high-level operations in the connection.

When you login, 4D ODBC returns a connection ID used in many 4D ODBC commands to identify the connection to which the command should be applied. The connection ID is also used when you logout from the server.

Login and Logout Commands

These commands allow you to control connections to the ODBC server.

Using the login commands, you can do the following:

 Login using a dialog box (OC Login Dialog),

 Login by specifying the login parameters (OC Login),

 Logout (OC LOGOUT).

High-Level Commands

Several high-level commands allow you to perform operations at the connection level. These commands concatenate the lower-level API commands, allowing you to perform complex functions with one simple command.

Using these commands, you can do the following:

Execute an SQL statement (OC Query exec or OC Execute SQL)

Clone a 4th Dimension file on the ODBC data source (OC Clone 4D table)

 Clone a table from the ODBC data source to create a 4th Dimension file (OC Clone ODBC table).


4D - Documentation   Français   English   German   4D ODBC, Command Theme List   4D ODBC, Command Alphabetical List   Back   Previous   Next