ApiTableRenameAlias - cDbUpdateFunctionLibrary

Renames an alias table.


Type: Function


Parameters: Handle hTable String sDriverID String sDisplayName String sLogicalName

Parameter

Description

hTable

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

sDisplay

The display name of the table

sTableName

The table name or logical name of the table


Syntax


Function ApiTableRenameAlias Integer hTable String sDisplayName String sTableName

Call:

Get ApiTableCreate SysTable.File_Number "SysTable2" "SysTableAlias" to bOK



Description

Use it to rename an alias table. The file handle is the same as the file number in Filelist.cfg.


Example


Procedure OnUpdate

    Boolean bOK

   

    Get ApiTableRenameAlias MyTable.File_Number "MyTable2" "MyAliasTable" to bOK


End_Procedure