Skip to content

SQLConnectionByTable - cConnection

Returns a connection handle for the connection being used by an open table

Type: Function
Return Data Type: Handle

Parameters

Parameter Type Description
hoTable Handle Table handle

Syntax

Function SQLConnectionByTable Handle hoTable Returns Handle

Call Example

Get SQLConnectionByTable hoTable to HandleVariable

Description

Returns a connection handle for the connection being used by an open table.

Sample

Handle hoTable hoConnection

Open Customer
Move Customer.File_Number to hoTable
Get SQLConnectionByTable hoTable to hoConnection

Return Value

SQL connection handle