ApiTableChangeFileListSlot - cDbUpdateFunctionLibrary

To use a filelist slot for the passed table handle (Filelist.cfg slot number). Or to change the filelist slot names. Note: If you pass empty strings ("") for the three parameters "sRootName", "sLogicalName" and "sDisplayName", the table will be removed from Filelist.cfg.


Type: Function


Parameters: Handle hTable String sRootName String sDisplayName String sLogicalName Boolean bUseConnectionID Boolean bANSI Boolean bRecnum

Parameter

Description

sRootName

The root name of the table

sTableName

The table name or logical name of the table

sDisplayName

The display name of the table

hTable

A file handle to the table name. Same as the Filelist.cfg slot number.

sDriverID

The name of the database driver.


Syntax


Function ApiTableChangeFileListSlot String sRootName String sTableName String sDisplayName Handle hTable String sDriverID

Call:

Get ApiTableChangeFileListSlot "MyTable" "MyTable" "MyTable" hTable MSSQLDRV_ID to bOK



Description

Use it to make changes to Filelist.cfg.



Example


Procedure OnUpdate

    Boolean bOK

   

    Get ApiTableChangeFileListSlot "Sales" "Sales" "Sales" hTable MSSQLDRV_ID to bOK


End_Procedure