Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to dynamically set Valid etc. Propery
Message
 
To
18/03/2001 15:43:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00486322
Message ID:
00486337
Views:
9
Erik,
Thanks for your reply.

I dont know what the code is going to be until Runtime, so I cannot pur them into a class beforehand.

In the past, I have ameded reports by copying the .frx to a temporary .frx, then amending it and then printing the report.

I wonder could I do something similarly with a .SCX form file. i.e. copy the scx to a Temp.scx, manipulate this file(which is really only a dbf) , Compile it and then DO FORM Temp.

Regards,

Gerard






>>Now I also want to add Valid Code,When code at runtime ,probably from a memo field on the user defined table, and am wondering whats the best way of doing this.
>
>You can't do that. But what you can do is create a set of column classes that already have your valid code in them, and decide at runtime which class you want to use.
>
>Or, you could write your valid code in a set of functions and have a single column class that decides which function to call dynamically, and calls that function with EVAL(), returning the result.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform