I have a job table where I need to have a project number field update automatically on a form.
The format is "03-023" where '03' is the year (can be sourced from the creation date). And '023' is the current project number for that year. I would like the project number to automatically increment until the next year ticks over in which I'd then like it to start back at '000' again. ie. first job next year would be '04-001'.
Does this sound possible. I figure it would be easier to split the field into two (fine by me). I can get the year from a start date field. I would assume I could add an expression that added one to the last value of project number.
Any solutions would be much appreciated. I have some experience in Access, but if it involves VB script please walk me through it.
Cheers, Chris.
The format is "03-023" where '03' is the year (can be sourced from the creation date). And '023' is the current project number for that year. I would like the project number to automatically increment until the next year ticks over in which I'd then like it to start back at '000' again. ie. first job next year would be '04-001'.
Does this sound possible. I figure it would be easier to split the field into two (fine by me). I can get the year from a start date field. I would assume I could add an expression that added one to the last value of project number.
Any solutions would be much appreciated. I have some experience in Access, but if it involves VB script please walk me through it.
Cheers, Chris.