Consultor Eletrônico



Kbase P96004: Why the BACKSPACE key is not working in a Date Fill-in?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   6/30/2005
Status: Unverified

GOAL:

Why the BACKSPACE key is not working in a Date Fill-in?

GOAL:

Why the DELETE key is not working in a Date Fill-in?

FACT(s) (Environment):

Windows
UNIX

FIX:

Date fields are always in replace mode; they don't have an insert mode.
The thinking behind this is that when a date is edited the user usually want to change one or more sections (month, day, or year). Progress does not shift characters across sections; if the user wants to change just the month (assuming -y mdy), he does not want the old month to push over into the day and the day to push over into the year. So Progress overwrite the sections as the user types and no shifting occurs.
The date can be wipe out in GUI by selecting the field (or part of it) and hitting backspace or delete. User will not be able to leave the field until he enters a valid date. If user wants to enter no date, he has to type a question mark to enter the unknown value (this works in both GUI and character). This will remove the slashes and leave a blank date field (it will not show a question mark like character fill-ins do for unknown).