Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
@...GET - How to programmatically fire the Valid
Message
 
To
25/07/2007 19:51:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01243441
Message ID:
01243639
Views:
29
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)
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform