UtilTableIsSQLByRootName - cDbUpdateFunctionLibrary

To check if a table is an SQL table.


Type: Function


Parameters: Handle hTable

Parameter

Description

sRootName

The root name of a table as specified in Filelist.cfg


Syntax


Function UtilTableIsSQLByRootName String sRootTableName Returns Boolean

Call:

Get UtilTableIsSQLByRootName sRootTableName 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 UtilTableIsSQLfunction where the file handle (Filelist.cfg number) is passed as a parameter instead of a root name.



Example


Procedure OnClick

    Boolean bOK

    String sTableName

   

    Get Value of oSomeObject to sTableName

    Get UtilTableIsSQLByRootName sTableName to bOK

End_Procedure