Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ouch! Syntax Error...
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00135175
Message ID:
00135377
Views:
9
Bob,
If your second form isn't modal, then

a) the code that calls the second form doesn't stop at the calling line and resume after you leave the second form - it continues. And sometimes the error message concerns a value that is being returned from the second form but isn't found.

b) Is your first form calling 'Activate' method code when you return to it? Again, this happens when your second form isn't modal. The Activate code may be causing errors like Michelle mentioned.

Finally, if the second form IS modal, check all the return codes for NULLs

HTH
Barbara

>I have a problem that has not only been stumping me but following me around... Here goes...
>
>I have an application, with roughly 40 forms and reports etc... I have a form that displays a list, you double click on the list and it calls another form which allows you to edit the information that is displayed in the list.
>
>Upon leaving the 2nd form I get a Syntax Error. The ONLY Command in the 2nd form is in the Exit button which is thisform.Release()... Now, not only do I get the Syntax error then, but I will cancel the program and get a Syntax error from here on alot of commands.
>
>QUIT, CLOSE ALL Give me Syntax Errors while Clear all, Cancel do not.
>
>Normally I recreate the screen (Its a simple screen) and the problem goes away only to find me again later on in the SAME screen. I have changed filenames and everything. (Am I being stalked by a rogue screen?)
>
>Happens in Visual Foxpro 5.0 and 6.0...
>
>A penny for your thoughts please...
>Thanx,
>Bob :-)
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform