Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I abort a form from the Init method?
Message
From
29/01/2008 14:39:34
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01286760
Message ID:
01286875
Views:
28
Have you checked the value of llResult? Do you see the messagebox?

>I just tried adding the conditional back in, but changed the structure to
>IF NOT llResult
>	MESSAGEBOX('Project not found in Projects table')
>	RETURN .F.
>ELSE
>
>ENDIF
>Where the rest of the Init code is included in the ELSE..ENDIF clause.
>
>This does not work. The form still instantiates.
Previous
Reply
Map
View

Click here to load this message in the networking platform