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?
Date Box
Moderator: jeanmichel
- jeanmichel
- Posts: 109
- Joined: 23 May 2014, 11:37
- Location: Sydney
Re: Date Box
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?
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?
Regards,
Jean-Michel Rapin
LANSA Pty Ltd
email: JeanMichel.Rapin@lansa.com.au
Address: 122 Arthur Street, North Sydney, NSW 2060, Australia
Tel: +61 289 070 262 http://www.lansa.com | http://blog.lansa.com |
Jean-Michel Rapin
LANSA Pty Ltd
email: JeanMichel.Rapin@lansa.com.au
Address: 122 Arthur Street, North Sydney, NSW 2060, Australia
Tel: +61 289 070 262 http://www.lansa.com | http://blog.lansa.com |
Re: Date Box
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
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
- jeanmichel
- Posts: 109
- Joined: 23 May 2014, 11:37
- Location: Sydney
Re: Date Box
Hi Brian,
If your program expects ccyymmdd you should set the dateFormatServer to yyyymmdd.
If your program expects ccyymmdd you should set the dateFormatServer to yyyymmdd.
Regards,
Jean-Michel Rapin
LANSA Pty Ltd
email: JeanMichel.Rapin@lansa.com.au
Address: 122 Arthur Street, North Sydney, NSW 2060, Australia
Tel: +61 289 070 262 http://www.lansa.com | http://blog.lansa.com |
Jean-Michel Rapin
LANSA Pty Ltd
email: JeanMichel.Rapin@lansa.com.au
Address: 122 Arthur Street, North Sydney, NSW 2060, Australia
Tel: +61 289 070 262 http://www.lansa.com | http://blog.lansa.com |
Re: Date Box
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
issue still not resolved
- jeanmichel
- Posts: 109
- Joined: 23 May 2014, 11:37
- Location: Sydney
Re: Date Box
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.
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.
Regards,
Jean-Michel Rapin
LANSA Pty Ltd
email: JeanMichel.Rapin@lansa.com.au
Address: 122 Arthur Street, North Sydney, NSW 2060, Australia
Tel: +61 289 070 262 http://www.lansa.com | http://blog.lansa.com |
Jean-Michel Rapin
LANSA Pty Ltd
email: JeanMichel.Rapin@lansa.com.au
Address: 122 Arthur Street, North Sydney, NSW 2060, Australia
Tel: +61 289 070 262 http://www.lansa.com | http://blog.lansa.com |