On a Access 2010 form I have a drop down control to select a job discrption. On the "after update event", I check the underlining text conrol for a value. If it is there, I perform some work. This is the VB code for that check.
If InStr(Me.Job_Catagory, "Instructor") Then (this works fine)
So, now I need to expnd this to check for any of three words..Instructor or Admin or Lead. I have tried google and other sources to see how to look for more than one word in a text box and have come up empty. Is there some combination of "OR" I could use with the IF and InStr statements?
Can anyone help with this.
Thanks,
If InStr(Me.Job_Catagory, "Instructor") Then (this works fine)
So, now I need to expnd this to check for any of three words..Instructor or Admin or Lead. I have tried google and other sources to see how to look for more than one word in a text box and have come up empty. Is there some combination of "OR" I could use with the IF and InStr statements?
Can anyone help with this.
Thanks,