project BLF > class Housekeeping > method GetKeyFields

Description

Return the field names of primary index. In this implementation, only the "fcDaemon" table is supported.


Parameters


bcTableNameinput-outputcharacterThe name of the table for which the key field information needs to be returned.
ocPrimaryKeyoutputcharacterA comma separated list of fields that make up the primary key.
ocAlternateKeyoutputcharacterA comma separated list of fields that make up the alternate key of the table.
ocObjectIDoutputcharacterThe name of the field that refers to the objectId field of the table.
ocObjectStatusoutputcharacterA comma separated list of fields that make up the ObjectStatus for the table.
oiReturnStatusoutputinteger


Internal usage


unused


program code (program1/housekeeping.p)

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