Page 1 of 1

DC_PopDate()

Posted: Thu Mar 29, 2018 12:32 am
by unixkd
Hi Roger

1. In the code above, when a user click on the date picker and the click cancel on the calendar, current system date is returned to the get box.

2. Similarly, the current value of the get box is not passed to the calendar instead, the calendar is alway starting with the current date.

3. The style parameter 2 and 4 does not work on my system windows 7. The date buttons are blank.

Thanks

Joe.

Re: DC_PopDate()

Posted: Thu Mar 29, 2018 7:56 am
by rdonnay
I don't see any code.

Re: DC_PopDate()

Posted: Thu Mar 29, 2018 12:07 pm
by unixkd
@ 1,1 DCSAY "Batch Posting Period Range:" GET dGeneral PICTURE "@D" POPUP {|d| DC_PopDate(d)}

Re: DC_PopDate()

Posted: Thu Mar 29, 2018 1:34 pm
by rdonnay
Try this:

POPUP {|d|DC_PopDate(d,,,,,,2)}