Page 1 of 1

Date Box

Posted: 04 Aug 2016, 18:36
by briand
I have a date selection of YMD as per the program but when I select the date and update I get invalid data captured. For some reason Enter has been assigned to F1 and not enter as per the green screen.

In auto Gui this works perfectly, where am I going wrong?

Re: Date Box

Posted: 08 Aug 2016, 15:30
by jeanmichel
Hi Brian,

What did you set the dateFormatServer property of the date extension to?
YMD is not a format we have in the list. How about yymmdd?

Re: Date Box

Posted: 10 Aug 2016, 19:53
by briand
Thank you for your response
I changed the date format as suggested. (the program expects ccyymmdd format).
It made no difference - no value is returned to the program (using RPG debugger) - originally I had yyyy/mm/dd (selected from the drop down box).

Regards
Brian

Re: Date Box

Posted: 15 Aug 2016, 10:58
by jeanmichel
Hi Brian,

If your program expects ccyymmdd you should set the dateFormatServer to yyyymmdd.

Re: Date Box

Posted: 16 Aug 2016, 15:14
by briand
That is what my program is expecting - but 0 is returned (no date, not even in the incorrect format). I have specified yyyymmdd

issue still not resolved

Re: Date Box

Posted: 16 Aug 2016, 17:55
by jeanmichel
Hi Brian,

In this case I suggest you lodge a support request with your axes reseller so they can debug this with you.
Without a proper test case it is very difficult to see what is the problem.