How do I change the value in a combo box in Access using VBA?

G

Guest

I have Text box and a combo box that is being used to generate a query to
fill out the form. The Textbox is the current date but may be changed. The
combo box has a list of dates of evaluations (not all dates have evaluations)
which is populated with a query of the evaluations table of all dates not
exceeding the date in the text box. The value of the combo box is blank and
must be selected prior to the query for the form being completed. The most
recent date should be the default. I have trying to use the example in help
of setting ListIndex for the combo control but I keep getting an error
message ("Incorrect use of ListIndex"). I have tried various syntax but to
no avail.
 

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