Date Box

Use this Forum to post your “How to …” questions about your use of aXes. This is not a technical support forum. Both the aXes Support Team at LANSA and other aXes customers may answer your questions. LANSA cannot guarantee the accuracy of any information posted by customers.

Moderator: jeanmichel

Post Reply
briand
Posts: 5
Joined: 04 Aug 2016, 17:29

Date Box

Post 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?
Attachments
screen1.PNG
screen1.PNG (30.48 KiB) Viewed 11092 times
User avatar
jeanmichel
Posts: 109
Joined: 23 May 2014, 11:37
Location: Sydney

Re: Date Box

Post 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?
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 |
briand
Posts: 5
Joined: 04 Aug 2016, 17:29

Re: Date Box

Post 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
User avatar
jeanmichel
Posts: 109
Joined: 23 May 2014, 11:37
Location: Sydney

Re: Date Box

Post by jeanmichel »

Hi Brian,

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 |
briand
Posts: 5
Joined: 04 Aug 2016, 17:29

Re: Date Box

Post 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
User avatar
jeanmichel
Posts: 109
Joined: 23 May 2014, 11:37
Location: Sydney

Re: Date Box

Post 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.
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 |
Post Reply