OBJECTn keyword
Applies to
The data-source specification of a form
Description
The OBJECTn keyword provides a way of linking in a record set as a subcollection on a form.
The n in OBJECTn is replaced by an integer. The lowest valid integer is 2.
Example
On form AgreementStatusesView, the primary data source is:
Acme.AgreementStatuses(DISTINCT()OBJNAME(oPurchaseDocument)) OBJECT2(V(Object2))
where the value of the variable Object2 is:
Acme.AgreementStatuses(FILTERPERM(AgreementId=FP(AgreementId) AND AgreementType=FP(AgreementType))OBJNAME(oStatusHistory) CA(VIORG)ORDERBY(StatusDate))