Hello again,
Thanks in advance for any help on this one.
I have a form in which I create the project ID based on the last two digits of the year, then the month, and then a three digit incremental counter, all concatenated. So a form entered on April 24th would be 0904017 if 16 other forms have already been created in April. Now, the incremental counter needs to reset back to 1 at the beginning of a new month and I am having some trouble getting this to work. So the first project entered in May should reset to 0905001.
Is there any function to subtract a month in xddate? I know that you can use xddate:adddays(date, x) to add days, but I need to subtract the month to see if the last project ID was for last month or not.
Anybody have any suggestions on resetting this counter effectively?
Thanks for your help,
Brett