List dates in the query, instead of typing them...............

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

Guest

In the query, I setup a parameter to choose the date you want to see. Is
ther any way that I can have a drop down list of all the dates in the field?

Thanks for the help.
 
Tony,

You have to create a form to do that. The form would contain a combo box or
list box containing all the relevent dates.

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
 
In the query, I setup a parameter to choose the date you want to see. Is
ther any way that I can have a drop down list of all the dates in the field?

Thanks for the help.

You can create an unbound Form (frmCrit let's call it) with a Combo
Box cboDate on it; set the combo's Row Source to a query

SELECT DISTINCT datefield FROM table ORDER BY datefield;

Use as a parameter

=[Forms]![frmCrit]![cboDate]


John W. Vinson[MVP]
 

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