Greetings everyone. I am not an Access Guru so please take me request with a grain of salt.
I am the marketing admin and web developer for the company I work for (co-op telcom). I have built a simple Access database that interfaces with a legacy service order system we utilize company wide. The database simply tracks marketing jobs we work and publishes them as service orders to the system. The problem I have is that I have to format the job number very specifically to fit the legacy systems expected input requirements and I haven not been able to figure out how to do this.
Below is an example of what a series of job numbers must look like. Note the date info preceding each example
Jobs entered on April 20, 2007
070420-01
070420-02
070420-03
Jobs entered on April 21, 2007
070421-01
070421-02
070421-03
The structure of the string is YYMMDD-'Sequential number restarting each day'
The date portion is no problem and nor is the dash. Where my problem lies is in the sequential number restarting each day.
Any thoughts on how to do this. I am guessing this should be some kind of VB or if then statement, but I have no idea where to begin.
To show that I appreciate the help anyone can give with regard to this mater, I am offering a free 1 year hosting package (200M disk space/2 Gigs of bandwidth/mysql/php/unlimited email addy's w/hsphere control panel) to the first person who can help me with this problem.
Thank you for your time and assistance.
I am the marketing admin and web developer for the company I work for (co-op telcom). I have built a simple Access database that interfaces with a legacy service order system we utilize company wide. The database simply tracks marketing jobs we work and publishes them as service orders to the system. The problem I have is that I have to format the job number very specifically to fit the legacy systems expected input requirements and I haven not been able to figure out how to do this.
Below is an example of what a series of job numbers must look like. Note the date info preceding each example
Jobs entered on April 20, 2007
070420-01
070420-02
070420-03
Jobs entered on April 21, 2007
070421-01
070421-02
070421-03
The structure of the string is YYMMDD-'Sequential number restarting each day'
The date portion is no problem and nor is the dash. Where my problem lies is in the sequential number restarting each day.
Any thoughts on how to do this. I am guessing this should be some kind of VB or if then statement, but I have no idea where to begin.
To show that I appreciate the help anyone can give with regard to this mater, I am offering a free 1 year hosting package (200M disk space/2 Gigs of bandwidth/mysql/php/unlimited email addy's w/hsphere control panel) to the first person who can help me with this problem.
Thank you for your time and assistance.