O
Owl
I am getting different results from running the same query with the same
selections. One moment it is all behaving as expected, the next it has gone
haywire. (I have done what appears to me to be EXACTLY what I have done in
another database, where it works perfectly every single time.)
In a query I have, amongst others, the following fields:
Category
SubCategory
Company
I want to be able to select any OR ALL of the relevant fields. I have the
following criteria:
Like "*"&[Type Category otherwise leave blank for ALL]&"*"
Like "*"&[Type SubCategory otherwise leave blank for ALL]&"*"
Like "*"&[Type Company otherwise leave blank for ALL]&"*"
At one stage, I got it running perfectly with the Company one having Is Null
in OR.
I have them all in a row. I tried them stepped down from each other, but
that didn't work either. What I want is to be able to press OK or Enter on
all of them for all records, or to type in a selection from one of the fields
when I so wish.
What is puzzling me the most, is the erratic results.
I even tried running Microsoft Diagnostics. I can't remember if that
helped, but if it did, it didn't for long.
Thank you for any help.
selections. One moment it is all behaving as expected, the next it has gone
haywire. (I have done what appears to me to be EXACTLY what I have done in
another database, where it works perfectly every single time.)
In a query I have, amongst others, the following fields:
Category
SubCategory
Company
I want to be able to select any OR ALL of the relevant fields. I have the
following criteria:
Like "*"&[Type Category otherwise leave blank for ALL]&"*"
Like "*"&[Type SubCategory otherwise leave blank for ALL]&"*"
Like "*"&[Type Company otherwise leave blank for ALL]&"*"
At one stage, I got it running perfectly with the Company one having Is Null
in OR.
I have them all in a row. I tried them stepped down from each other, but
that didn't work either. What I want is to be able to press OK or Enter on
all of them for all records, or to type in a selection from one of the fields
when I so wish.
What is puzzling me the most, is the erratic results.
I even tried running Microsoft Diagnostics. I can't remember if that
helped, but if it did, it didn't for long.
Thank you for any help.