How to create an All Values for a Date Field in Drop-Down using DB results

I know how to create an all Values selection in my dropdown for a text field. I was wondering how I would do this for a drop down that is a date field. I have Frontpage 2003.

Thanks for your help/direction in advance...
Who is Participating?
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.

What I do is but "All" option then the value between 01/01/1700 and 01/01/2050.  All years between 1700 and 2050 will be listed.

Unless date field is a text field  you can put %


Put this code in the SQL box of Frontpage to do the trick:

SELECT * FROM Orders WHERE (OrderDate  between #01/01/1800# and  #01/01/2050#)

Step 1- Select the Database
Step 2- Select the Record source then click the edit button and add the above code "similar to if of course to suite your needs"
Continue the DRW normally as  you know.

Here I am selecting all orders between year 1800 and year 2050. The idea to includes all dates between two dates that are far before the first date and far after the last date to be on the safe side and include all dates in the drop down.


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
cam2003Author Commented:
Ok.. ty... I will give that a try
It will work
cam2003Author Commented:
My apologies.. I couldn't get back to you.. Some stuff happened here.. and I couldn't try it ... Thank you for the help
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
Web Development Software

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.