Skip to Content
Former Member
Oct 16, 2006 at 06:40 AM

Regarding Ranges...


Hi all,

I need to check whether a key is not equal to invoice (this has 8 different values like r1, r2, 77 etc) or payment (this has 3 different values like 05,06 etc...)...

If the above condition is correct then message 1 is passed else message 2 is passed.

Now the issue is if i want i can chek them using if statement but that is gonna turn out very lengthy... that is i will chek key is not equal to inv. 1 and not equal to inv.2 etc....and then with the payment values...

can anyone plz suggest some shorter way and preferably with a piece of code...thanx in advance