entering a criteria when a query is run

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

This is a basic question, I know, but given the following query I want to
modify it so that Access prompts the user to enter a report month, i.e.,
9/1/2006, 10/1/2006, etc.: SELECT tblExpenditureDetail.*
FROM tblExpenditureDetail
WHERE (((tblExpenditureDetail.[Expense Code])="0000037008" Or
(tblExpenditureDetail.[Expense Code])="0000037009" Or
(tblExpenditureDetail.[Expense Code])="0000037010" Or
(tblExpenditureDetail.[Expense Code])="0000037011") AND
((tblExpenditureDetail.[Serial Number]) Is Null) AND
((tblExpenditureDetail.ReportMonth)=#9/1/2006#));

My brain is blanking on how to get a parameter dialogue box to pop up for
the tblExpenditureDetail.ReportMonth value.

Thanks,

Dave
 
Sorry, I figured this out. You can ignore. I knew it was a basic question.
 

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

Back
Top