General information
Category:
Forms & Form designer
Title:
Do form - object formname not found
Hi Everyone:
I have a form (form1) with a list box. in the doubleclick event, i have "do form form2". you can make changes in form2. in the click event for form2's save button, i try to change some of the properties of some of the controls on form1.
within the project manager, this works fine. however, in the executable, i get "object form1 not found", which is error 1923.
i did some searching and found that once the code is executed in one form to open another form, the form object is released from memory. it states to use activeform, forms, and formcount properties to access the form. However, i've looked these up and don't understand how to "reactivate" form1 as an object without having to release the form and then do "do form1".
Any suggestions? Thanks,
Paul
Next
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