How to get all dates available in a combobox box ACCESS 2010

I have a drop-down that shows a series of dates.  However, since this is a date field, how can I get it to reset to all dates of the user wants to have all records for all dates show?
Sandra SmithRetiredAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

NerdsOfTechTechnology ScientistCommented:
I suggest adding a checkbox or button to toggle (enable/disable) a filter.

In other words, start with the full or filtered dataset, then have the user toggle between these sets using a button or checkbox (control)

If the dropdown is bound to the record; then you can use VBA to fill in the dropdown with your specified list, etc.
Sandra SmithRetiredAuthor Commented:
Actually, my problem seems to be larger than what I thought.  When the user filters the form to get the recordset, all is fine.  However, when I run a reset filters process to set all the comboboxes back to their default queries, nothing happens.  If I close the form and reopen, then all the data in the drop-downs are there.  So, not only does the date fields not reset, none of the comboboxes reset.  The answer would solve all these issues so the real question is, how to tell a form's comboboxes to revert to their original default recordsource queries?   this would take care of my problem.
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
>> If I close the form and reopen, then all the data in the drop-downs are there.

perhaps to reset the listed items in ur dropdown to show all default items, you would need to update the combobox's Rowsource property, and then follow by a Requery() statement to refresh the dropdown list.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
read further here

ComboBox.RowSource Property (Access)
https://msdn.microsoft.com/en-us/library/office/ff845390.aspx

ComboBox.Requery Method (Access)
https://msdn.microsoft.com/en-us/library/office/ff191858.aspx
Sandra SmithRetiredAuthor Commented:
Yes, did that already in the code.  However, have solved the issue and all is working fine now, resolved myself.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
can you tell us how you resolved the problems? it's good if you can share that info with us.
Sandra SmithRetiredAuthor Commented:
Resolved issue myself.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.