Back

Essential
keyCompound
Compound primary key fields Define compound primary key here as a ; delimited list of fields. If this is defined, then the keyCol property is ignored (phpLens will set keyCol to '*'). Note: the key (lens_p1) generated in phpLens url's for compound keys uses a special formula to combine all the fields into one value. See source code of LensPackKeys($keyarray) in phplens-common.inc.php. Syntax `$lens->keyCompound = 'Field1;Field2;Field3'; $lens->keyCompound = 'Table1.Field1;Table1.Field2';` Basic:No Advanced/Enterprise:Yes DynamicEdit:Yes [Version 2.7]