Access Keys

With the exception of tables that contain a single key, methods that accept parameters that define the access keys (accessKeys) must specify the key name. Previously, it was acceptable to specify the access keys in an ordered list. Even if the table has only one key, it is preferable to name the key.

Example – Single Key Table

Unacceptable:

type RecordACN acn = Db.getRecord ("ACN",":XCID")

Acceptable:

type RecordACN acn = Db.getRecord ("ACN","CID=:XCID")

Example – Multiple Key Table

Unacceptable:

set x = Db.isDefined("EFTPAY",":CID,:SEQ")

Acceptable:

set x = Db.isDefined("EFTPAY","CID=:CID,SEQ=:SEQ")

When Standard is Enforced: Profile v7.0