UtilTableIsSQL - cDbUpdateFunctionLibrary

To check if a table is an SQL table.


Type: Function


Parameters: Handle hTable

Parameter

Description

hTable

The filelist number


Syntax


Function UtilTableIsSQL Handle hTable Returns Boolean

Call:

Get UtilTableIsAlias MyTable.File_Number to bOK



Description

Checks if a table is an SQL table Returns True if it is. It checks if the Filelist.cfg root name has a driver specification, and if it has returns True. There is also a UtilTableIsSQLByRootName function where the root name is passed as a parameter instead of a table handle.



Example


Procedure OnClick

    Boolean bOK 

   

    Get UtilTableIsSQL OrderHe2.File_Number to bOK

End_Procedure