Date issue in *EUR

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
k2R400
Profound User
Posts: 64
Joined: Sat Feb 18, 2012 12:03 pm
First Name: Patrick
Last Name: THOMAS
Company Name: Oo2
Country: France
Contact:

Date issue in *EUR

Post by k2R400 »

I have a screen with a textbox, referencing a database field, which is defined as a date in *EUR format.
When I enter 18.01.2026, there are no issues updating the database.

However, if I specify the field as a date field (instead of a text box) with the correct format, the date is displayed correctly, and the calendar works perfectly.

However, PUI consistently returns a date in ISO format to the RPG, which means nothing works anymore.

Any ideas on how to prevent PUI from performing any conversion when returning to the server and leave the field in *EUR format as it was originally defined?
Attachments
pattern.png
pattern.png (93.77 KiB) Viewed 478 times
f1.json
(753 Bytes) Downloaded 14 times
k2R400
Profound User
Posts: 64
Joined: Sat Feb 18, 2012 12:03 pm
First Name: Patrick
Last Name: THOMAS
Company Name: Oo2
Country: France
Contact:

Re: Date issue in *EUR

Post by k2R400 »

Support informed me that simply adding the keyword DATFMT(*EUR) to the keywords field ensures it correctly returns a date in *EUR format. Thank you to support.
Attachments
jira-generated-image-3.jpeg
jira-generated-image-3.jpeg (69.46 KiB) Viewed 300 times
jira-generated-image-1.jpeg
jira-generated-image-1.jpeg (68.84 KiB) Viewed 300 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest