Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do form command in code
Message
From
31/07/2004 10:27:06
Ian Johnston
Computer Software Solutions
Woodland, California, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Do form command in code
Miscellaneous
Thread ID:
00929863
Message ID:
00929863
Views:
48
The following is the code in the valid event of a combobox :

IF this.ListIndex = 0 AND thisform.nformstatus > 0 && insert or edit mode
lyn = MESSAGEBOX("This carrier is not in the database, do you wish to enter them ?",4+32,"Carrier information")

IF lyn = 6 && yes
DO FORM carrier NAME carrier2 LINKED WITH this.Value
ENDIF

ENDIF

The messagebox comes up but when you select yes to enter the data the form just flashes on the screen and closes immediately.

Any help greatly appreciated.

Ian
Next
Reply
Map
View

Click here to load this message in the networking platform