BusinessObjects Board

@prompt having sysdate by default

Hi,
Is it possible to have sysdate as default value in @prompt?

I know that @prompt will take only constant values as default values like below syntax…
@Prompt(‘Enter Date:’,‘D’,Mono,Free,Persistent,{‘01/01/1901’},User:0)

but i would like to replace constant date with sysdate…so that when the user uses the object by default it will shoe them the sysdate…

Please help me with the logic.

Thanks in advance.


tsr_bo (BOB member since 2008-06-13)

You would need to create a prompt with Strings, this would limit users to use a calendar but still they can type manually a date. As a default value put some label like “TODAY” and assign a sysdate to it.


Marfi :poland: (BOB member since 2006-12-18)

http://www.dagira.com/2008/07/15/how-can-i-make-today-my-default-prompt-value/


Marek Chladny :slovakia: (BOB member since 2003-11-27)

Does anybody search or read the FAQ? The linked blog post shows details of a workaround, but there have been plenty of discussions about this right here in this forum…


Dave Rathbun :us: (BOB member since 2002-06-06)

So the bottom line is we can’t get it…

Thanks,
Zaif


zaif235 :us: (BOB member since 2010-06-15)