Create datevalue in Parameter

  • Hi

    I have this expression builtin in default value, Non-queried,

    =DateAdd("day",-30,Today)

    My parameter is a datetime type.

    Meaning is to have a date 30 days before today.

    I've already tried it with Now()

    In stored procedured I've used this with getdate() and it works fine.

    Anybody got any clue ?

    Thx in advance

    El Jefe


    JV

  • Hello,

    Enter this in the default values:

    =DateAdd("d",-30,Today)

    The change is that I am using "d" instead of "day".

    Niklas

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply