General information
Category:
Forms & Form designer
Thanks,
>
>>If I have a formset and I want to add
>>forms (that were saved by Save As Class),
>>how do I do it.
>>
>>i.e.
>>Let's say I have the form that comes
>>with the formset by default, and I
>>want to add another form to the formset
>>on the fly (not when the formset is
>>created).
>>
>>There would be too many forms in the
>>formset if I added the different individual
>>forms at the time I created the formset.
>>
>
>Thisformset.Addobject("formX","classX")
>
>
I kept trying that and kept getting an error.
I couldn't figure it out.
Since the on-the-fly form is in the same vcx
of the formset, when I issued
Thisformset.Addobject("formX","classX")
I would get an error. It seems that eventhough
they (form and formset) are in the same vcx,
you still have to add
SET CLASSLIB TO same.vcx ADDITIVE
Seems wierd.
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