Goalie3533
Programmer
I'm having a problem with an instr function contained within an if statement.
Here's the line of code giving me trouble:
-------------------
"If id = prodid(i) and not(instr(Prodname(i)),"RENEWAL")) then"
--------------------
For some reason, as long as my "id" is equal to "prodid(i)" then my data is passing into the if statement regardless of whether or not the "instr" portion is true or not.
Is there anything wrong with the way I've set up my instr function?
Thanks.
-Goalie35
Here's the line of code giving me trouble:
-------------------
"If id = prodid(i) and not(instr(Prodname(i)),"RENEWAL")) then"
--------------------
For some reason, as long as my "id" is equal to "prodid(i)" then my data is passing into the if statement regardless of whether or not the "instr" portion is true or not.
Is there anything wrong with the way I've set up my instr function?
Thanks.
-Goalie35