Hi Tempy,
I did a test, albeit simple and cursory, and it worked okay there, so I
suspect something else is going on.
Can you post the code as you have it, and some sample data so that I can
test more accurately?
Bob
"Tempy" wrote in message
...
Hi Bob,
I treid it but it does not seem to work ? i have enterd both values that
are there and not and i get the message with both of them,despite the
fact that the variable ans still hase the vallue from the input box ?
Tempy
*** Sent via Developersdex http://www.developersdex.com ***