Hey guys,
I am trying to set up a logistics system to store products.
Currently there are three different product types. I would like one type to be numbered 0-10,000, the second 10,001 to 20,000, and the third 20,001 to 30,000.
You guys pointed me in the right direction and told me I had to use a dmax command to do this. I tried to research it a little bit but im stuck.
Right now I have a field in my main table called "logistics number". From what I understand I will have to make a table. So would I make a table that autonumbers 1-10,000, 10,001-20,000, and 20,001-30,000 and then tell the main query to pull from the appropriate table using if then statements?
I was also trying to understand the actual dmax statement I would have to use:
[part number text box].value=dmax("Part number", "Parts")+1
I was a little bit confused on the ("Part Number," "Parts") section of the code. Would this be ("Field Name" , "Query Name")?
Sorry for the long post. Thanks for any help in advance.
I am trying to set up a logistics system to store products.
Currently there are three different product types. I would like one type to be numbered 0-10,000, the second 10,001 to 20,000, and the third 20,001 to 30,000.
You guys pointed me in the right direction and told me I had to use a dmax command to do this. I tried to research it a little bit but im stuck.
Right now I have a field in my main table called "logistics number". From what I understand I will have to make a table. So would I make a table that autonumbers 1-10,000, 10,001-20,000, and 20,001-30,000 and then tell the main query to pull from the appropriate table using if then statements?
I was also trying to understand the actual dmax statement I would have to use:
[part number text box].value=dmax("Part number", "Parts")+1
I was a little bit confused on the ("Part Number," "Parts") section of the code. Would this be ("Field Name" , "Query Name")?
Sorry for the long post. Thanks for any help in advance.