Time

  
Hi,

I want to get the date one day before today, is there any function which I can use? Thanks a lot.

Eric,

check out the builtin function.

it's simply AddDays(CurrDate(),-1)

J. wrote:
Eric,

check out the builtin function.

it's simply AddDays(CurrDate(),-1)
 
 Hi J,

Thank you so much.
 But when I fill this value. I get "the 'defualt value' must be set a literal date value"


It seems that what you are trying to accomplish doesn't work in the default value property of an attribute. Still, you will be able to do it in an expression.