motoxracer400f
Registered User.
- Local time
- Today, 08:00
- Joined
- Feb 14, 2008
- Messages
- 11
Hi everyone,
I have a program that I have created in Access 2007 that stores all of our drawing numbers with a letter following the number to cover the revision level. For the longest time I've been wanting to add an auto number button on the form so that I don't have to find the last record and then create a new one each time...
Here is my situation:
1) I have a table called "QF Drawings"
2) Within that table there is a text box called "Q-F DWG #"
3) Normally I could just set the box to autonumber the text box, but since I am using a number followed by a letter, the autonumber doesn't work properly.
4) The number sequence that I am using is like this:
100101A, 100102A, 100103A, 100103B, 100104A, etc.
5) I have a button on my form called "AutoNumber"
How do I make it so when I click the "AutoNumber" button it searches the "Q-F DWG #" text field for the last number before the letter and creates a new auto number with an "A" after it. Ex: "100105A"
If anyone could help me out with this it would be extremely appreciated!
Thank You!!
--Jason V
I have a program that I have created in Access 2007 that stores all of our drawing numbers with a letter following the number to cover the revision level. For the longest time I've been wanting to add an auto number button on the form so that I don't have to find the last record and then create a new one each time...
Here is my situation:
1) I have a table called "QF Drawings"
2) Within that table there is a text box called "Q-F DWG #"
3) Normally I could just set the box to autonumber the text box, but since I am using a number followed by a letter, the autonumber doesn't work properly.
4) The number sequence that I am using is like this:
100101A, 100102A, 100103A, 100103B, 100104A, etc.
5) I have a button on my form called "AutoNumber"
How do I make it so when I click the "AutoNumber" button it searches the "Q-F DWG #" text field for the last number before the letter and creates a new auto number with an "A" after it. Ex: "100105A"
If anyone could help me out with this it would be extremely appreciated!
Thank You!!
--Jason V