I have a field named SepticPermit in a table named Septic. The field will contain the actual permit numbers when issued. the number is formatted as such: 2004-001. 2004 represents the year issued, the 001 is the first number of a septic permit issued in 2004. I want the 001 to automatically increment by one each time a new permit is entered. I have this in the property, default value of the permit text box: =DMax("[SepticPermit]","Septic")+1
I just get a blank box when going to a new record. What am I doing wrong?
Also, I want to be able to use a different number (but using the same format) if needed. (In other words, when adding older information, I will be able to put in a permit number that was not issued in 2004, ie: 1989-141.
I have read all other posts regarding dmax incrementation but have not yet been able to find what is wrong.
I just get a blank box when going to a new record. What am I doing wrong?
Also, I want to be able to use a different number (but using the same format) if needed. (In other words, when adding older information, I will be able to put in a permit number that was not issued in 2004, ie: 1989-141.
I have read all other posts regarding dmax incrementation but have not yet been able to find what is wrong.