I want to specify criteria in a query that comes from a form control using the Like operator. Only I want to limit the number of characters to 4, like this for a criteria statement:
Like Left(Forms!MyForm!MyControl,4)*
In other words, if the value in the control is 123456 I want to limit the criteria to 1234. I can't seem to find a syntax to make it go and, believe me, I've tried.
Any ideas?
AvGuy
Like Left(Forms!MyForm!MyControl,4)*
In other words, if the value in the control is 123456 I want to limit the criteria to 1234. I can't seem to find a syntax to make it go and, believe me, I've tried.
Any ideas?
AvGuy