DBGateway_CloseSelect

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

version 2004


DBGateway_CloseSelect (selectID)

ParameterTypeDescription
selectIDLongintSelect ID returned by DBGateway_Select

Description

The DBGateway_CloseSelect command closes the result set (DB cursor) opened by DBGateway_Select.

selectID is a longint returned by DBGateway_Select.

Example

   selectID := DBGateway_Select(connID;"SELECT company_client FROM clients WHERE ref_client = 725")
   If(selectID # 0)
      DBGateway_GetStringField(selectID;0;$compClient)

      DBGateway_CloseSelect(selectID)
   Else
      ALERT (DBGateway_ErrorString)
   End if

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