I am wrtting a usercontrol that manages the reading and writting of records to a table. It validates data and handles security and what not. In addition to this, I would like to provide a method that, when called, pops up a form that gives the user a nicely done editing screen to add and browse the records. The common diaglog control does something like what I am looking for. Set some properties then execute a method and you get a form. I would also like this control to be invisible at run time.
Now in my usercontrol project I have the class code and I have added a form to the project on which I have built the user interface. However, in the sub that is supposed to display the form frmedit.show I get an error indicating that frmedit is an unknown object. How can I have my control show this form? Are there examples of this out there I can look at?
Now in my usercontrol project I have the class code and I have added a form to the project on which I have built the user interface. However, in the sub that is supposed to display the form frmedit.show I get an error indicating that frmedit is an unknown object. How can I have my control show this form? Are there examples of this out there I can look at?