>Rich,
>
>>I don't think you can do this directly. If you create procedures/functions for the WHEN and VALID clauses for any GET they are stored as Functions within the SPR and are assigned random names when you generate the form.
>
>If, as the first line of the code snippet for each clause, When and Valid in this example, you use the #Name generator directive, then the name of the functions won't be random, for example if you put in the When snippet
>
>
>#Name ThisIsTheWhenOfObject1
>
>* Your When code here
>
>
>Then you'll get a function of that name generated (all uppercase)
Never knew that. As with many things, I found something that worked well for me and never investigated further.
After all these years, still more to learn.