General information
Category:
Forms & Form designer
>I tried to build a set of forms to capture data from users' input. The speed and user interface are very important. The requirement is that when a user enter a code on a initial form, let's say "CODE1". The form CODE1 will show up. It the code is "CODE2" the form CODE2 will show up. The number of forms need to be activated defending on how many codes a user enters, and the number of forms to be loaded varies from 1 to 20 forms. What I try to do is that the system only activate the window as needded.
>
>I tried to use formset. But the problems is that I will have to load 20 forms one time. It will need some memory and slow down the system. My question is: Is that possible to use formset to load a form only when a user requests by entering the correspounding code. I recalled someone said that was possible. Any recommendations?
>
>Any other options to accomplish the same thing?
>
>Jim
You can, at design time, create a formset with only one form and then use Thisformset.Addobject...
Take care that all the forms you will add are modal if the formset is modal, modaless if the formset is modaless..
Michel
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only