Re: Reports 2.5: User Parameter, Initial Value --> today's date

From: Brian Kane <bkane_at_rice.edu>
Date: 1997/10/22
Message-ID: <344e6e93.79586197_at_news.rice.edu>#1/1


Dmitri-

[Quoted] I am aware of the before parameter form trigger, but I have not been able to make it work in this situation. Here is what I tried for this

[Quoted] 	function BeforePForm return boolean is
	  today DATE;
	begin
	  today := to_char(SYSDATE);
	  return (TRUE);
	end;

[Quoted] This compiles, but I have no way of using this value (today) in the Initial Value field. Report triggers must return a boolean value, and they don't allow arguments.

[Quoted] Any further thoughts?

Thanks,
Brian

On 22 Oct 1997 10:43:02 GMT, "Dmitry Ivanoff" <moprok_at_ropnet.ru> wrote:
>Brian Kane <bkane_at_rice.edu> ÚÁÐÉÓÁÎÏ × ÓÔÁÔØÀ
><344cd22e.94619280_at_news.rice.edu>...
>> Does anyone have an easy method to set the initial value of a user
 parameter
>> to the current date?
>>
>
>Use Before Parameter Form trigger.
>
>Dmitry, moprok_at_ropnet.ru
Received on Wed Oct 22 1997 - 00:00:00 CEST

Original text of this message