>Thanks for responding.
>
>>So what line does it stop on? Or does it actually get to x = 1? What happens next?
>>
>
>It runs the init method then exists the form, that is it gets to x = 1 and then exits the form.
I noticed you have:
m.glValid = .F.
You don't return this from Init(), do you. Init returning false causes form abortion.
>
>>Why not just set a breakpoint at the 1st line of Init() and watch what happens in debug (or are you still on VFP3)?
>>
>
>I used the debugger to find out what was happening, I set a break point in the program which invokes it. I am using VFP 9.
Fair enough
>
>>UIt's likely that till Init() is done, the form doesn't "know" its objects, such as Thisform.lblErrorMsg.
>
>So what do I do now?
Not applicable in this case, if it gets to x = 1.
Apart from the above, I'm stumped too.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.