Hi Nav Experts!
How to concatenate field +M
Example: '1M'
paymentdate is a field in customer table.
I want to use the formula '1M' like my filed(paymentdate)+M, how to write code?
My code as follows:
dategrace:= paymentdate;
date1:='dategrace+M'
payment2:= CALCDATE(date1, MonthStartDate);
but it is throwing error.
0
Comments
Regards
you could use following code snippet might help, if it suits u
dategrace:= format(paymentdate);
date1:=dategrace+'M'
payment2:= CALCDATE(date1, MonthStartDate);
hope this helps
Maybe I am missing something, but I can not see how this in any way addresses the question asked?
Although you some how "forgot" to tell us what the error was. I guess it is a type mismatch. The problem being here that you have three different variables types, Integer, Text and DateFormula. So you need to use the format and evaluate functions to solve this. I don't have time to try it out, bu somethign like :
viewtopic.php?f=5&t=13982
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Or need he a concatonation of dateformulas?
Regards
Great!!
My purpose solved with the solutions of Mr.David Singleton/Mr. pri_1_ranjan.
I struggled to get that value,Thanks a lot.....