Auto increment textbox on the form is [Job No].
Default value of this textbox = Dmax("[Job No]","[QT Job Record]")+1
This autoincrement starts from 1, 2, 3... ...
1st Question- I would like this field to be stored as a 6 digit number, eg. if the data is 3, then it should store as XX0003, or 300(stored as XX0300)
Then I would like to append the last 2 digits of the year as the 1st 2 significant digits (XX above), ie for year 2009, and data field is 3, it stores as 090003, or year 2009 and incremented field is 300, store 090300.
I could from the start, start the 1st entry of the table as 090001, but this is not a good idea.
please suggest some possible ways to do it so that this would be automatic and not need to manually start it every year?
Default value of this textbox = Dmax("[Job No]","[QT Job Record]")+1
This autoincrement starts from 1, 2, 3... ...
1st Question- I would like this field to be stored as a 6 digit number, eg. if the data is 3, then it should store as XX0003, or 300(stored as XX0300)
Then I would like to append the last 2 digits of the year as the 1st 2 significant digits (XX above), ie for year 2009, and data field is 3, it stores as 090003, or year 2009 and incremented field is 300, store 090300.
I could from the start, start the 1st entry of the table as 090001, but this is not a good idea.
please suggest some possible ways to do it so that this would be automatic and not need to manually start it every year?