DateAdd (1 Viewer)

Gismo

Registered User.
Local time
Today, 17:46
Joined
Jun 12, 2017
Messages
1,298
Hi all
i did not expect to have an error when using the function builder
maybe im am not understanding the function
a need to add 12 month to my date field
below is my query
please could you assist
1586274576282.png
 

Attachments

  • 1586274525370.png
    1586274525370.png
    12.5 KB · Views: 89

bastanu

AWF VIP
Local time
Today, 07:46
Joined
Apr 13, 2010
Messages
1,402
Enclose the m in double-quotes: DateAdd("m",12,[AMPDate])
Cheers,
Vlad
 

Gismo

Registered User.
Local time
Today, 17:46
Joined
Jun 12, 2017
Messages
1,298
Enclose the m in double-quotes: DateAdd("m",12,[AMPDate])
Cheers,
Vlad
Originally I had the double quotes, still no luck

1586276152832.png
 

Gismo

Registered User.
Local time
Today, 17:46
Joined
Jun 12, 2017
Messages
1,298
Go it tnx, seems like spaces makes a big difference
 

Gismo

Registered User.
Local time
Today, 17:46
Joined
Jun 12, 2017
Messages
1,298
I don't think so?

Code:
? dateadd("m", 12, Date)
07/04/2021
yeh you right,
made no difference, no sure why i received an error but is works nowtnx all
1586280041264.png
 

Users who are viewing this thread

Top Bottom