Back

Programming
keyColVariable
Mirror the primary key column value in a global variable This has been rendered obsolete by the keyVariable property. This is useful when you want need to access the primary key of the currently selected record. The variable defined in keyColVariable is automatically set to the primary key value as soon as it becomes available. Note that if a new record is inserted into a table, we are unable to set the keyColVariable correctly. Syntax `$lens->keyColVariable = 'ID'; $lens->Render(); print $ID; # now the global var $ID is set to the primary key value` Basic:No Advanced/Enterprise:Yes DynamicEdit:No [Version 1.0]