The_Vincester
Registered User.
- Local time
- Today, 15:04
- Joined
- Jun 6, 2006
- Messages
- 71
I can't believe I haven't run into this before, and since search for the forum just gave me a database error...
I have a Form, with combo box parameters that pass to a query that fills a subform. So I can see all the records from the beginning, each parameter uses a
criteria.
The problem is that one of my parameters is a number and that if I select 1, it'll also give me 11, 12, 13, etc., or anything that starts with a one (same for 2, 3 and on of course). I realize that with "like" that this is by design, but how do I have it just to show what I'm looking for, but keep the functionality of show everything when nothing is selected.
Please keep in mind that I use "design" mode and never use SQL.
I have a Form, with combo box parameters that pass to a query that fills a subform. So I can see all the records from the beginning, each parameter uses a
Code:
Like [parameter:] & "*"
The problem is that one of my parameters is a number and that if I select 1, it'll also give me 11, 12, 13, etc., or anything that starts with a one (same for 2, 3 and on of course). I realize that with "like" that this is by design, but how do I have it just to show what I'm looking for, but keep the functionality of show everything when nothing is selected.
Please keep in mind that I use "design" mode and never use SQL.