Consultor Eletrônico



Kbase P91369: How to set the Foreign Fields for an SDO at run time?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/08/2004
Status: Unverified

GOAL:

How to set the Foreign Fields for an SDO at run time?

GOAL:

How to set ForeignFields property at run time?

FACT(s) (Environment):

Progress 9.x

FIX:

The ForeignFields property is a SmartDataObject property that is set at design time to designate which of its fields to map to foreign key fields in a SmartDataObject that is its parent.
This property can also be changed at run-time using the setForeignFields function:
 DYNAMIC-FUNCTION('setForeignFields':U IN h_dsportorder,
    INPUT "Order.Cust-Num,Cust-Num" /* CHARACTER */).