Jump to content

Selecting Date Range


Hayezb

Recommended Posts

Whats up guys?

 

I'm working on a project and need some help with pulling date ranges from a MySql DB. Our customers need to run a PO Report (Purchase Order), each PO has a date tied to it that they go by. The problem is that this is a weekly report, so the drop down of dates is huge!

 

I want to have 3 drop downs, and they populate based on what they choose. I want them to choose a Year first, then a Month, then it populates the Day drop down with data from that column from that month. Here is an example of what I have in the DB:

 

PODATE

2010-02-05

2010-01-29

2010-01-22

2010-01-15

 

If they chose 2010 as the year, then January as the month, then the 29th, 22nd and 15th would show up in the Day drop down.

 

Thanks guys!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.