Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Formset doubts
Message
From
02/12/1997 09:21:30
 
 
To
02/12/1997 09:10:08
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00063253
Message ID:
00063258
Views:
42
>From my observation, it seems that my formset loads and initializes all the forms contained in it ONLY the FIRST time i run it. Can anyone tell me why this is so? (i hope my observation is correct)
>
>Is there a way not to make the formset load and initialize some of the forms in it?
>
>This is because, in my present application, one of the forms in my formset requires updated info everytime it is called eg. date and time fields. If i run my formset, it'll initialize the form only once but, i want the form to be updated with the latest time and date everytime i call it.
>
>Any help will be appreciated.
>Many thanks! :)
>
>Mazlan Bin Mohammad

If you included all forms into formset in design time, then everything will be initialized once you load the formset. Another approach is to add/remove forms in run-time. You create empty formset in design mode, load it and use Thisformset.Add/RemoveObject methods to instanciate forms from appropriate classes.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform