Hey guys,
I was wondering if you could help me out with a problem regarding a part locating system.
We have three different types of parts and would like to group them by type. We would also like to give each part a number that could be used to locate them.
Ideally we would like our numbering system to look like the following:
Type 1: 1-10,000
Type 2: 10,001-20,000
Type 3: 20,001-30,000
My question is, how do I get Access to assign each part a number automatically while inputing the data? I would like the numbering scheme for Type 1 to go from 1 to 10,000 in order without any repeats. Same for Type 2 and Type 3.
I figured I would have to use if, then statements since there are three different types but was wondering if anyone could point me in the right direction as to what the code should look like for the number scheme.
Thanks
I was wondering if you could help me out with a problem regarding a part locating system.
We have three different types of parts and would like to group them by type. We would also like to give each part a number that could be used to locate them.
Ideally we would like our numbering system to look like the following:
Type 1: 1-10,000
Type 2: 10,001-20,000
Type 3: 20,001-30,000
My question is, how do I get Access to assign each part a number automatically while inputing the data? I would like the numbering scheme for Type 1 to go from 1 to 10,000 in order without any repeats. Same for Type 2 and Type 3.
I figured I would have to use if, then statements since there are three different types but was wondering if anyone could point me in the right direction as to what the code should look like for the number scheme.
Thanks