Hello, hope someone can help me this problem.
I am in the process of creating a DB for customer names, job numbers and document numbers, but have run into a problem right from the start.
We are using a naming convention of the first 3 letters of the customer name, and 3 numbers after that. Eg. Customer names Allstar, Allpro would be All001 and All002 respectively.
The job numbers would then be sequential numbers, for each customer. So the first job for Allstar would be All001-001 and so on.
How do I get Access to check/create the customer ID's? And then how do I get Access to check for the next job number for each customer?
I was able to do this in Excel with the following;
=LEFT(B12,3)&COUNTIF($B$3:B12,LEFT(B12,3)&"*") in one cell
=IF(B12="","",LEFT(D12,3)&TEXT(RIGHT(D12,1),"00")) in another to add the preceding zero's.
Obviosuly , Excel is not the best way of tracking customers, jobs, documents etc.
Any help? I'm not completely new to access, but can't get my head wrapped around this?
Thanks
I am in the process of creating a DB for customer names, job numbers and document numbers, but have run into a problem right from the start.
We are using a naming convention of the first 3 letters of the customer name, and 3 numbers after that. Eg. Customer names Allstar, Allpro would be All001 and All002 respectively.
The job numbers would then be sequential numbers, for each customer. So the first job for Allstar would be All001-001 and so on.
How do I get Access to check/create the customer ID's? And then how do I get Access to check for the next job number for each customer?
I was able to do this in Excel with the following;
=LEFT(B12,3)&COUNTIF($B$3:B12,LEFT(B12,3)&"*") in one cell
=IF(B12="","",LEFT(D12,3)&TEXT(RIGHT(D12,1),"00")) in another to add the preceding zero's.
Obviosuly , Excel is not the best way of tracking customers, jobs, documents etc.
Any help? I'm not completely new to access, but can't get my head wrapped around this?
Thanks