Parameter Query with multiple options for criteria

F

Fester

I have a query that uses a textbox for the Parameter value. Basically
it's a hardware report by region. I can get it to query on a single
value, but how do I get it to show all records (essentially, a blank
parameter field)?
 
F

Fester

Works like a charm, thank you.


Hi,

try like [Forms]![MyForm]![MyField] & "*" as a criterium.
--
Kind regards
Noëlla



Fester said:
I have a query that uses a textbox for the Parameter value. Basically
it's a hardware report by region.  I can get it to query on a single
value, but how do I get it to show all records (essentially, a blank
parameter field)?- Hide quoted text -

- Show quoted text -
 
T

Tamara

How do you do it if the query is between [start date] and [end date] - it
doesn't work to do like between [start date] and [end date] & "*"

Fester said:
Works like a charm, thank you.


Hi,

try like [Forms]![MyForm]![MyField] & "*" as a criterium.
--
Kind regards
Noëlla



Fester said:
I have a query that uses a textbox for the Parameter value. Basically
it's a hardware report by region. I can get it to query on a single
value, but how do I get it to show all records (essentially, a blank
parameter field)?- Hide quoted text -

- Show quoted text -
 
M

MAITE 339 hotnail.com

Tamara said:
How do you do it if the query is between [start date] and [end date] - it
doesn't work to do like between [start date] and [end date] & "*"

Fester said:
Works like a charm, thank you.


Hi,

try like [Forms]![MyForm]![MyField] & "*" as a criterium.
--
Kind regards
Noëlla



:
I have a query that uses a textbox for the Parameter value. Basically
it's a hardware report by region. I can get it to query on a single
value, but how do I get it to show all records (essentially, a blank
parameter field)?- Hide quoted text -

- Show quoted text -
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top