error checking routine

David b

Registered User.
Local time
Today, 15:36
Joined
Mar 2, 2003
Messages
102
I have an error checking routine behind a control on a form. I only want the routine to run if the first 2 charactors
entered in the control are "UK"
What do I need to do this. Been trying Like "UK*" with no success
TIA
David B
Hexham UK.
 
It would be better if you could actually post the code you have thus far; I'm guessing your control is a textbox but you don't actually say.
 
Thanks for replying.
Just figured it out using If left(tagno,2)<>"UK" then
Exit sub
else etc
David b
 

Users who are viewing this thread

Back
Top Bottom