Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New to FoxPro 6.0 and this doesn't want to work
Message
From
16/07/1999 16:31:24
 
 
To
16/07/1999 16:28:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00242562
Message ID:
00242563
Views:
19
Try moving the code to the InteractiveChange event and use NODEFAULT instead of RETURN .F.

Also, what is mbatch and batchtype? Variables? Fields?

>DO CASE
> CASE MBATCH = 1 .AND. BATCHTYPE = 1
> DO FORM ADDBTCHMNT
> THISFORM.RELEASE
> CASE MBATCH = 1 .AND. BATCHTYPE = 2
> nAnswer = MESSAGEBOX('ERROR MESSAGE', 0, 'This Batch Type is not available for this Option')
> nanswer = 0
> wait window 'Please choose another Option' nowait
>ENDCASE
>
>mbatch is the control source for the 1st optionbuttongroup and batchtype is the control source for the 2nd optionbuttongroup
>there are more similar case statements to follow up to mbatch = 6 .and. batchtype = 6 but since I can't get the second case statement to work have stopped there. It just ignores that I have pressed the option2 after I have pressed option1.
>
>The case statement is under the 2nd optionbuttongroup with the procedure valid
>
>Thanks
>
>Jennifer
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform