Kbase P124180: How to use the setForeignFields function with multiple foreign fields?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/31/2007 |
|
Status: Unverified
GOAL:
How to use the setForeignFields function with multiple foreign fields?
GOAL:
How to pass multiple foreign fields to the setForeignFields function?
FACT(s) (Environment):
All Supported Operating Systems
FIX:
The foreign fields are field value pairs. So to make a link between the sports2000.customer table and the sports2000.refcall table with two pairs pf foreign fields, do:
DYNAMIC-FUNCTION('setForeignFields':U IN h_drefcall, INPUT "refcall.custnum,custnum,refcall.salesrep,salesrep").
Additional pairs of fields can be added in the same way.