yaqwa Posted June 23, 2005 Report Share Posted June 23, 2005 Please help what is wrong? <MENU2:2:T:01:CenterCenter:testtest12 3 4 ><IFVAR2:1:01:1:A><TBOX4:T:1:CenterCenter000278000200:000:a><ELSE><IFVAR2:1:01:1:B><TBOX4:T:1:CenterCenter000278000200:000:b><ELSE><IFVAR2:1:01:7:c><TBOX4:T:1:CenterCenter000278000200:000:c><ELSE><IFVAR2:1:01:1:d><TBOX4:T:1:CenterCenter000278000200:000:d><ENDIF><ENDIF><ENDIF><ENDIF> i can display box a and b but not c or d can anyone help? Quote Link to comment Share on other sites More sharing options...
randallc Posted June 23, 2005 Report Share Posted June 23, 2005 Hi1 Just click "Ignore Case" box in 3rd and 4th compare; or fix the lower case letters ! Best, Randall <MENU2:2:T:01:CenterCenter:testtest12 3 4 ><IFVAR2:1:01:1:A><TBOX4:T:1:CenterCenter000278000200:000:a><ELSE><IFVAR2:1:01:1:B><TBOX4:T:1:CenterCenter000278000200:000:b><ELSE><IFVAR2:1:01:7:Tc><TBOX4:T:1:CenterCenter000278000200:000:c><ELSE><IFVAR2:1:01:1:Td><TBOX4:T:1:CenterCenter000278000200:000:d><ENDIF><ENDIF><ENDIF><ENDIF> PS Also watch out if you are comparing using "Text" or "Value"; and "Case" commands are easier once you learn them; Multiple Choice Menu: testSwitch (T1) Case: A Text Box Display: a End Case Case: B Text Box Display: b End Case Case: C Text Box Display: c End Case Case: D Text Box Display: d End Case End Switch <MENU2:2:T:01:CenterCenter:testtest12 3 4 ><SWITCH:T1><CASE:A><TBOX4:T:1:CenterCenter000278000200:000:a><ENDCASE><CASE:B><TBOX4:T:1:CenterCenter000278000200:000:b><ENDCASE><CASE:C><TBOX4:T:1:CenterCenter000278000200:000:c><ENDCASE><CASE:D><TBOX4:T:1:CenterCenter000278000200:000:d><ENDCASE><ENDSWITCH> Quote Link to comment Share on other sites More sharing options...
joe Posted June 23, 2005 Report Share Posted June 23, 2005 Hello yaqwa! If Variable %T1% contains "c" Text Box Display: c Else If Variable %T1% = "d" Text Box Display: d End If End If Both your c and d tests are testing for a lowercase character. Change them to uppercase C and D or use the Ignore Case checkbox in the If Variable dialog. Quote Link to comment Share on other sites More sharing options...
yaqwa Posted June 23, 2005 Author Report Share Posted June 23, 2005 @randallc Multiple Choice Menu: testSwitch (T1) Case: A Text Box Display: a End Case Case: B Text Box Display: b End Case Case: C Text Box Display: c End Case Case: D Text Box Display: d End Case End Switch Thanks you are right this way is much easier @ joe Oh shit i see i changed the c and d tests in upper case and it works sometimes ..................... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.