Hello,
I would like to Access to generate a sequential number based on a current table and fields on a form. I’ve been thinking about it for days and I’m stuck. Any and all help is appreciated. The table contains the following fields: Inventory Number, Prefix1, Seq and ClassCode.
InventoryNum: 1004-1119-1503
Prefix1: 1004
Seq: 1119
ClassCode: 1503
On my form I would require the person to enter the Prefix1 and Class Code fields. I’m looking to have the code look at the inventory numbers in the table, create the next available number and save it. Example using the table above: when the code is ran by a command button it would generate inventory number 1004-1120-1503. I’d also like the option of being able to create more than one inventory number (multiple numbers) all at the same time like 1004-1120-1503 through 1004-1122-1503. Is this possible?
Thanks
BDW Jr.
I would like to Access to generate a sequential number based on a current table and fields on a form. I’ve been thinking about it for days and I’m stuck. Any and all help is appreciated. The table contains the following fields: Inventory Number, Prefix1, Seq and ClassCode.
InventoryNum: 1004-1119-1503
Prefix1: 1004
Seq: 1119
ClassCode: 1503
On my form I would require the person to enter the Prefix1 and Class Code fields. I’m looking to have the code look at the inventory numbers in the table, create the next available number and save it. Example using the table above: when the code is ran by a command button it would generate inventory number 1004-1120-1503. I’d also like the option of being able to create more than one inventory number (multiple numbers) all at the same time like 1004-1120-1503 through 1004-1122-1503. Is this possible?
Thanks
BDW Jr.