I have a Date Picker with the Format "MMM yyyy", if the date is "31st May 2000" click up or down arrow while on the Month part (with the calendar not dropped down).
Any ideas please :confused:
Printable View
I have a Date Picker with the Format "MMM yyyy", if the date is "31st May 2000" click up or down arrow while on the Month part (with the calendar not dropped down).
Any ideas please :confused:
What exactly happens? I don't see anything. Can you be more specific.
Hi LG, I'll run you through the scenario:
Place a DTPicker on a form
Change its Custom Format to "MMM yyy"
Change its Format to "3 - dtpCustom"
Run and open form
Click the drop down and select 31st May
May should be highlighted now (if not tab onto the DTPicker)
Click Up or Down arrow
Month disappears!
Yes, I see it. Is there a special reason you are not including date in your format, like "dd MMM yyyy"?
I've got round it by setting the Date to 1st in the Month on the KeyDown event when vbKeyUp or vbKeyDown are pressed.
The users want just the month and year for certain items like Credit Card Expiry Date, so that's what I give them.
I'll just put it down to ANOTHER Microsoft Bug and carry on.
Cheers, LG.