Using a Parameterized Query

T

tim mcmurray

I have set up a database that has a month billed field
and I want the user to be able to lookup just the month
value through a parameterized query when a report is
opened.
 
J

John Vinson

I have set up a database that has a month billed field
and I want the user to be able to lookup just the month
value through a parameterized query when a report is
opened.

Try a criterion like
= DateSerial(Year(Date()), [Enter month number:], 1) AND < DateSerial(Year(Date()), [Enter month number:] + 1, 1)
 
B

bert

month([billingdate])=[enter billing date] and year([billingdate])=[enter
year]

Hope this helps,
Bert
 
B

bert

month([billingdate])=[enter billing date] and year([billingdate])=[enter
year]

Hope this helps,
Bert
 
B

bert

Thanks a lot for the help it works like a charm.

Tim

-----Original Message-----
month([billingdate])=[enter billing date] and year ([billingdate])=[enter
year]

Hope this helps,
Bert




tim mcmurray said:
I have set up a database that has a month billed field
and I want the user to be able to lookup just the month
value through a parameterized query when a report is
opened.






.
 

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