General information
Category:
Forms & Form designer
John,
I believe that you have provided a technically incorrect response.
I trust that you will correct it.
Just calling them as *I* see em.
Jim N
>Hi Harry..
>
>It would appear the variable reference you are using for the form has fallen out of scope. Therefore, the only reference available to the form when you are attempting to invoke the method is through _Screen.ActiveForm.
>
>You may want to place a break point on the form variable you are using to see when it falls out of scope... Just place a break point on when it changes value...
>
>HTH....
>
>>I have a global application object from which I call a method from whatever form is currently active. In one particular instance the the code falls over and tells me the relevant form does not exist. Yet the debugger shows '_screen.activeform.name' is indeed the form I'm trying to call and if I change the code (which I've done anyway) to call '_screen.activeform.mymethod' it works a treat.
>>
>>How this possible?
>>
>>Harry
Previous
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