project BLF > class TApplication > method GetKeyFields

Description

Get the key fields of the main table.
In our case, it is about the fcDaemon table.


Parameters


bcTableNameinput-outputcharacterName of the table for which the key fields are required.
ocPrimaryKeyoutputcharacterprimary key fields
ocAlternateKeyoutputcharacterAlternate key fields
ocObjectIdoutputcharacterObject id's
ocObjectStatusoutputcharacterObject statuses
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


unused


program code (program1/tapplication.p)

if bcTableName = "fcDaemon":U
then assign ocPrimaryKey = "DaemonId":U
            ocObjectID   = "DaemonId":U.