ApiTableMoveFileListEntry - cDbUpdateFunctionLibrary
To move a filelist slot to another location (Filelist.cfg slot number). The function interenally calls the ApiTableChangeFileListSlot function twice. First it creates the hToSlot filelist.cfg entry, then it removes the hFromSlot filelist entry by setting the RootName, LogicalName and DisplayName to blank ("").
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 |
hFromSlot |
The Filelist.cfg slot number to move FROM (table number). |
hToSlot |
The Filelist.cfg slot number to move TO (table number). |
sDriverID |
The name of the database driver. |
Syntax
Function ApiTableMoveFileListEntry String sRootName String sTableName String sDisplayName Handle hFromSlot Handle sToSlot String sDriverID
Call: |
Get ApiTableChangeFileListSlot "MyTable" "MyTable" "MyTable" 8 80 MSSQLDRV_ID to bOK |
Description
Use it to move a table number from one place to another in Filelist.cfg.
Example
Procedure OnUpdate
Boolean bOK
Get ApiTableChangeFileListSlot "Sales" "Sales" "Sales" hTable MSSQLDRV_ID to bOK
End_Procedure