| STNDRD20.OLB [message #17909] |
Thu, 03 February 2005 22:54  |
Riaz
Messages: 112 Registered: February 2002
|
Senior Member |
|
|
hi..please let me know where can I find STNDRD20.OLB and PL/SQL library CALENDAR.PLL.
I need it urgenly to download
thanks in advance
Riaz
|
|
|
|
|
|
|
|
|
|
|
|
| Re: problem with STNDRD20.OLB [message #17958 is a reply to message #17914] |
Sun, 06 February 2005 19:47   |
Riaz
Messages: 112 Registered: February 2002
|
Senior Member |
|
|
hi..I am unable to understand the parameters passed to the following procedure.
when i compile it, it give an error eg Invalid no of arguments in call. please help
DATE_LOV.GET_DATE
(NVL(:BLOCK.ITEM, SYSDATE),
'BLOCK.ITEM',
200, 100,
'SELECT DATE',
'OK','CANCEL',
TRUE, FALSE, FALSE);
|
|
|
|
| Re: problem with STNDRD20.OLB [message #17962 is a reply to message #17958] |
Sun, 06 February 2005 21:54   |
 |
Maaher
Messages: 7065 Registered: December 2001
|
Senior Member |
|
|
This is the definition of the DATE_LOV.GET_DATE procedure:procedure get_date
( display_date in date
, return_item in varchar2
, v_x_pos in number := 0
, v_y_pos in number := 0,
, v_title in varchar2 := 'Date List of Values'
, v_ok in varchar2 := 'OK'
, v_cancel in varchar2 := 'Cancel'
, v_highlight in boolean := TRUE
, v_autoconfirm in boolean := FALSE
, v_autoskip in boolean := FALSE); Your number of parameters seems correct, but are you sure that in this expressionNVL(:BLOCK.ITEM, SYSDATE) block.item is a date? Wrap it in a TO_DATE and see what it does...
MHE
|
|
|
|
|
|