Problem CALCDATE to change de lenguage

gonzy1981gonzy1981 Member Posts: 156
Hi.
I've a problem with de Calcdate in a report.
When a write in a report DATE1 := CALCDATE('-1Y',DATE2) and i change the lenguage to Spanish, i has a error, because '1Y' is for English and for Spanish is DATE1 := CALCDATE('1A',DATE2). Do you know to do it for both lenguages?
Thanks

Comments

  • einsTeIn.NETeinsTeIn.NET Member Posts: 1,050
    Use <> brackets...
    DATE1 := CALCDATE('<-1Y>',DATE2)
    

    And use the search function of the forum :!:
    "Money is likewise the greatest chance and the greatest scourge of mankind."
Sign In or Register to comment.