Goal:
i wish to be able to search by either entering just one field or multiple fields at random
Situation:
- I have a 1 table with 12 fields.
- on a form i have 10 textboxes and a button
- when the button is pressed, I open a query to obatin any records that correspond to the data given.
The Issue:
as soon as i specify one field to search by, the query doesn't seem to perform properly. are all specifications found on the row of criteria seen as 'AND' statements??
I also have some 'Or:' statements that I use to rule out blank textboxes. however, those get shifted over to a new column and row upon saving.
ie. I enter
or: [txtbox] Is Null
and what happens is that [txtbox] gets moved to a new column at the end of the query and Is Null remains in the same row, but shifts to the same column as the [txtbox].
Thanks for reading so far. I hope I've stated it clearly..
Any help/pointers are greatly appreciated! Thank you very much!!!
i wish to be able to search by either entering just one field or multiple fields at random
Situation:
- I have a 1 table with 12 fields.
- on a form i have 10 textboxes and a button
- when the button is pressed, I open a query to obatin any records that correspond to the data given.
The Issue:
as soon as i specify one field to search by, the query doesn't seem to perform properly. are all specifications found on the row of criteria seen as 'AND' statements??
I also have some 'Or:' statements that I use to rule out blank textboxes. however, those get shifted over to a new column and row upon saving.
ie. I enter
or: [txtbox] Is Null
and what happens is that [txtbox] gets moved to a new column at the end of the query and Is Null remains in the same row, but shifts to the same column as the [txtbox].
Thanks for reading so far. I hope I've stated it clearly..
Any help/pointers are greatly appreciated! Thank you very much!!!