|
-
Feb 16th, 2013, 06:58 PM
#1
Thread Starter
Member
Struggling with if...then and logical operator
Hi,
I have two calculated values for which I wrote messages:
If value1 < 0 orelse value2 < 0 then
Message1.show
end if
If value1 > 1000 orelse value2 > 1000 then
Message2.show
end if
This works fine.
But it happens that one value is < 0 and the other > 1000 in the same time,
and the two messages pop up.
In this latter case I want a third Message to show up, overriding the two others.
I tried every possibility I know without success.
If you please help me.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|