date calendar problem
527908May 19 2007 — edited May 20 2007hey.......
i have one textbox which is date type field and one date button.
when user press button, calendr opens from which he can select date ......
..this was working fine ....
but now when i am setting text field value to sysdate on when_new_record_instance.........its allowing to open calendar but when date is selected , its not changing the date and keeps sysdte only as value......
on date button pressed i have fillowing code
date_lov.get_date(sysdate, -- initial date
'PRODUCTION.PRODUCTION_DATE', -- return block.item
240, -- window x position
60, -- window y position
'Start Date', -- window title
'OK', -- ok button label
'Cancel', -- cancel button label
TRUE, -- highlight weekend days
FALSE, -- autoconfirm selection
FALSE); -- autoskip after selection
on key-listval trigger of text box i have following code
date_lov.get_date(sysdate, -- initial date
'PRODUCTION.PRODUCTION_DATE', -- return block.item
240, -- window x position
60, -- window y position
'Start Date', -- window title
'OK', -- ok button label
'Cancel', -- cancel button label
TRUE, -- highlight weekend days
FALSE, -- autoconfirm selection
FALSE); -- autoskip after selection
where am I going wrong.......?