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
| bcTableName | input-output | character | Name of the table for which the key fields are required. |
| ocPrimaryKey | output | character | primary key fields |
| ocAlternateKey | output | character | Alternate key fields |
| ocObjectId | output | character | Object id's |
| ocObjectStatus | output | character | Object statuses |
| oiReturnStatus | output | integer | Return status of the method. |
Internal usage
unused
program code (program1/tapplication.p)
if bcTableName = "fcDaemon":U
then assign ocPrimaryKey = "DaemonId":U
ocObjectID = "DaemonId":U.