EVALUATE(InvPeriodDF,Cust."Invoice period"); AgrHdr."Next invoice date" := CALCDATE(InvPeriodDF,AgrHdr."Next invoice date");where InvPeriodDF is a DateFormat and Cust."Invoice period" only contains e.g. 1Y or 1M.
AgrHdr."Next invoice date" := CALCDATE('<Cust."Invoice period">',AgrHdr."Next invoice date");Both produce the same runtime error where the program wants the swedish letter in the date expression. Am i trying the impossible here or have I missed some way to do this. :-k
Comments
In this case you need to use Swedish characters.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
I recently hardcoded '30D' in a report, which did not work in the French database, so I changed it Language Independant, to use Date + 30;
Dave
Mobile: +44(0)7854 842801
Email: david.cox@adeptris.com
Twitter: https://twitter.com/Adeptris
Website: http://www.adeptris.com
You need to put pointy brackets around your dateformula like '<+1D>'
This will work in all country databases.
PLP Consult
You have embedded all within the single quotes, i.e. you need to do this:
PLP Consult
(I hope this is my last post for this issue :-# )
PLP Consult