Rowset.keysString()
note
This article is about the keysString() function of the Rowset object.
Rowset.keysString()
Gets the keys string of a row set. This keys string represents the parent keys that the row set refers to. If the row set does not refer to parent keys, the keys string equals "" (the empty string).
Returns a string.
tip
To get the keys string as an object, use .keyValues() instead.
Syntax
*row-set*.keysString()
Example 1
if (this.activeParentKey === null || this.activeParentKey === dsc.rowSet(pRef).keysString()) {
…
}
Example 2
This example returns the keys string of the parent TOUR record that the current row set refers to:
$.udb("SCHEDTOUR").rowSet('current').keysString();
Assuming that TOUR has a composite primary key spanning 2 columns, an example value for such a keys string is:
"1.DS59=$60:AUSTRALIA;$61:SUNTANNER"