ApiTableRemoveRelation - cDbUpdateFunctionLibrary

Removes/deletes a table relationship.


Type: Function


Parameters: Handle hTable

Parameter

Description

hTable

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

iColumnNumber

The column number that is related to another table.


Syntax


Function ApiTableRemoveRelation hTable Integer iColumnNumber Returns Boolean

Call:

Get ApiTableRemove OrdHea.File_Number 9 to bOK



Description

Use it to remove a relation to another table. The file handle is the same as the file number in Filelist.cfg.



Example


Procedure OnUpdate

    Boolean bOK

   

    Get ApiTableRemoveRelation MyTable.File_Number 14 to bOK


End_Procedure