You people are so excellent!
I have a query where I want to select records where the name starts with a range of letters. The criteria on the name field so far is Like "[A-C]*"
So far, so good.
Now I want to change the range to something else like D-G.
I want the user to type that in and I do not want them to type it into the query design view. I want the user to be able to type in the range on a field on a form.
I have tried Like "[[Forms![FormName]![FieldName]]*" and then type in A-C.
No worky.
I suspect the problem has to to with both parameters and ranges using brackets.
Thank you for your help.
I have a query where I want to select records where the name starts with a range of letters. The criteria on the name field so far is Like "[A-C]*"
So far, so good.
Now I want to change the range to something else like D-G.
I want the user to type that in and I do not want them to type it into the query design view. I want the user to be able to type in the range on a field on a form.
I have tried Like "[[Forms![FormName]![FieldName]]*" and then type in A-C.
No worky.
I suspect the problem has to to with both parameters and ranges using brackets.
Thank you for your help.