`
Par2: Passing fields and keys as parameters 1998-03-09 -- Jim Katz Prototype your procedure: MyProc PROCEDURE(*? FldName,*Key MyKey) In MyProc in your data section: PassedField ANY !! << This is important, you must use an ANY type here. PassedKey ?Key In your code in MyProc Code ..... PassedField &= FldName PassedKey &= MyKey Set(PassedKey) or Do FieldPriming Set(PassedKey,PassedKey) You would call MyProc, just by using the field and key labels as declared in your data dictionary. Printed October 25, 2026, 1:25 am This article has been viewed/printed 36227 times. |