-
Form load error?
If I use
to show a first form it goes well...
When I try a little further in the code to call a second form with
he doesn't know the method 'show'...
He only knows
Code:
Form2.showwhatsthis
*** did I do wrong?
Anyone familiar with this problem?
-
Might sound like a dumb question, but is Form2 actually a form, or is it some control?
-
I was going to ask the same thing - couldn't resist.
-
Right click on form2 in the code and click on DEFINITION.
This should lead you to the top line of the form's code.. however, if it doesn't it should lead you to the VARIABLE or OBJECT that has foolishly been called "form2"... !!
-
1 Attachment(s)
-
Have you tried my suggestion? Right click on form2 in your code, and click on DEFINITION.
I'm guessing someone has DIMmed a variable as FORM2 in the module or form the error occurs in..
-
Ok... Doh!!!! :rolleyes:
I had a frame called frmProducten, while I just added another form called the same...
Thx to all! ;-)