Question : Date_lov.get_date

Hello,
I have two items in my form:

myDate1 and myDate2 and I want to select the same date from calendar into these items at once.

Mabe somebody could help me with a calendar's procedures?
It means I have to use date_lov.get_date twice? And I "get_date" in key_listval trigger of these items

Date_lov.get_date is looks like that:

date_lov.get_date(sysdate,
                  'MyDate1',  -- return block.item
                  240,             -- window x position
                  60,              -- window y position
                  'Date',    -- window title
                  'OK',            -- ok button label
                  'CANCEL',        -- cancel button label
                  TRUE,            -- highlight weekend days
                  FALSE,           -- autoconfirm selection
                  FALSE);          -- autoskip after selection

date_lov.get_date(sysdate,
                  'MyDate2',  -- return block.item
                  240,             -- window x position
                  60,              -- window y position
                  'Date',    -- window title
                  'OK',            -- ok button label
                  'CANCEL',        -- cancel button label
                  TRUE,            -- highlight weekend days
                  FALSE,           -- autoconfirm selection
                  FALSE);          -- autoskip after selection

There else I can call this date_lov.get_date? Could someone help me?

Solveiga


Answer : Date_lov.get_date

Hi,

do not use  date_lov.get_date twice. Instead copy first item value to second item value in proper trigger.

regards.
Random Solutions  
 
programming4us programming4us