Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
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.
Today is November 21, 2024, 7:51 am This article has been viewed 35299 times.
|
|