Orangatuan
Ook!
- Local time
- Today, 10:11
- Joined
- Apr 19, 2005
- Messages
- 7
I am creating a catalogue for 300+ books lying around my house.
On a form there are 2 text boxes called Search_Author and Search_Book and a combo box called Search_Genre
When The Fields are all empty the query brings back the entire database but whenever any field is not blank the query brings back nothing
the criteia for the query is
Like "*" & [Forms]![Search Form]![Search_Book] & "*"
Like "*" & [Forms]![Search Form]![Search_Author] & "*"
Like "*" & [Forms]![Search Form]![Search_Genre] & "*"
under their respective headings
i dont know what is wrong
On a form there are 2 text boxes called Search_Author and Search_Book and a combo box called Search_Genre
When The Fields are all empty the query brings back the entire database but whenever any field is not blank the query brings back nothing
the criteia for the query is
Like "*" & [Forms]![Search Form]![Search_Book] & "*"
Like "*" & [Forms]![Search Form]![Search_Author] & "*"
Like "*" & [Forms]![Search Form]![Search_Genre] & "*"
under their respective headings
i dont know what is wrong