Highlighted
Absent Member.
Absent Member.
188 views

[archive] Date Edint

[Migrated content. Thread originally posted on 06 September 2005]

On a whim I entered a picture clause of 99-99-99 because I was looking for an edited entry for a European style date. The Screen Painter allows that in both the Format Picture and the Variable Picture properties without error. Unless I was dreaming I was convinced last week that this was working as intended. Users could enter 090205 and the field did edit itself as 09-02-05. It no longer works that way but shows 00 090205. Is there a way to use the dash this way?

Vins Nash
0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

RE: [archive] Date Edint

Unfortunately I don't think so. If this is Windows, have you considered using the masked edit control? It is super for cases like this.
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] Date Edint

If it helps, here in europe (at least in the UK) we don't mind the slash characters as long as the date field is in DD/MM/YY format.

On the same point, I used to work with ICL mainframe COBOL which allowed you to insert any character into a picture clause by prefixing it with an "I" so you could have 99I-99I-99. This was very handy for time fields as you could create a 99I:99I:99. Could be a nice little enhancement.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.