Workaround requirements:
Base datawindow column of type date. (here column start_date)
Dropdowndatawindow column also of type date, using a special
formatting eg. dd/mm/yyyy or dd.mm.yyyy
Language settings according to the special formatting, here
dd/mm/yyyy.
The code needs to be in the itemfocuschanged of the base
atawindow and a special defined unmapped userevent, which gets
riggered by the itemfocuschanged code.
//Example with date field in Employee table !!!
if dwo.name="start_date" then
w_sheet.triggerevent ("ue_displayvalue") //w_sheet is the
window having the userevent and dw on it
end if
the userevent ue_displayvalue:
//Example with date field in Employee table !!!
string rownumber,displayvalue
rownumber = string(dw_1.getrow())
displayvalue = dw_1.describe("Evaluate(
'lookupdisplay(start_date) ', "+rownumber+" )")
dw_1.settext(displayvalue)
This results in resetting the displayed date value to the correctformatting after the column gets focus, hence overriding the defaultdate.






