dmctiernan04
New member
- Local time
- Today, 21:37
- Joined
- Oct 22, 2007
- Messages
- 2
Hi All,
I'll give a little background on what I'm looking to achieve. I use a 3D design package called Solidworks. I created a VBA macro that runs within Solidworks which allows me to edit custom metadata for the parts that I design, such as project number, customer, part description... that sort of thing. I am now implementing a part numbering system so I need a way to track what numbers are in use, etc. I would like to create this part number database use Access. I was recommended not to use the Autonumber for incrementing the numbering in order to get the next available number as this will be prone to changes if a record is deleted, giving a broken number series.
From this I have two questions:
1) Is there a way that I can auto-increment another field?
2) If the answer is "yes" to question 1, Is there a way to get it to auto-increment the field without opening access, as I will be transferring the metadata to the database from my existing macro (using ADO). There will also be 6 other engineers using this database.
Thanks in advance,
Declan.
p.s. - I hope my question is clear enough, if not let me know and I will try to explain better.
I'll give a little background on what I'm looking to achieve. I use a 3D design package called Solidworks. I created a VBA macro that runs within Solidworks which allows me to edit custom metadata for the parts that I design, such as project number, customer, part description... that sort of thing. I am now implementing a part numbering system so I need a way to track what numbers are in use, etc. I would like to create this part number database use Access. I was recommended not to use the Autonumber for incrementing the numbering in order to get the next available number as this will be prone to changes if a record is deleted, giving a broken number series.
From this I have two questions:
1) Is there a way that I can auto-increment another field?
2) If the answer is "yes" to question 1, Is there a way to get it to auto-increment the field without opening access, as I will be transferring the metadata to the database from my existing macro (using ADO). There will also be 6 other engineers using this database.
Thanks in advance,
Declan.
p.s. - I hope my question is clear enough, if not let me know and I will try to explain better.