Hi All,
I have been trying to use the following formula in the Modern Designer to display the year-month-boxnumber. I needed the month figure to be two digits. For example, 2022-08-1342
=CONCATENATE(YEAR(Date_1),"-",RIGHT("00" &MONTH(Date_1), 2),"-",(Previous_Box_Number+1))
However, this returns a single month digit. 2022-8-1342
If I use the RIGHT("00" &MONTH(Date_1), 2) in a separate Single Line field (on the same form), it works and shows 08.
If I use the separate Single Line field variable in the first formula, it still removes the leading zero.
Running latest release of Forms 11. Modern Designer.