By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,441 Members | 998 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,441 IT Pros & Developers. It's quick & easy.

If Condition

P: 50
Hi to all,

I would like to know if this condition is functioning well.

Expand|Select|Wrap|Line Numbers
  1. if val(txtverbal.text) > val(txtlogical.text) or val(txtverbal.text) > val(txtmusic.text) _
  2. or val(txtverbal.text) > val(txtbodily.text) or val(txtverbal.text) > val(txtvisual.text)
  3.  
I'm computing the Multiple intelligence test of a certain examinee and I compare it to each other then the condition must select the highest score.
Sep 24 '07 #1
Share this Question
Share on Google+
2 Replies


QVeen72
Expert 100+
P: 1,445
Hi,

Use "And" instead of "Or", because you want the highest.

REgards
Veena
Sep 24 '07 #2

P: 50
Hi,

Use "And" instead of "Or", because you want the highest.

REgards
Veena
Hi,

Thank you for the help Veena. It works now..
Sep 26 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.