BassFishinJunkie
New member
- Local time
- Today, 18:50
- Joined
- May 6, 2020
- Messages
- 2
Hi! Hopefully someone can help me here. I was given a project from my MGR and have made it more complicated then I first intended.
I am creating a database for leaders throughout the company to log defective product.
When each entry is created I would like to assign them a unique ID code that would look like this:
01-XXX-2020
02-AAA-2020
03-CCC-2020
First two digits are sequentially and would be formulated by access based off last record entry.
3 digits after dash are selected by user from combo box and are the "detection Location".
last 4 digits are the year.
hopefully I can ask how to without confusing the experts (because it confuses me.
Users will select the detection Location from a combo box.
Users will select the Year from a combo box (current year will be default so they actually wont ever change anything here).
Once the selections are made, the user will push a button that says "create record".
When the user clicks the button, I want two things to happen and this is what I need help with the code:
1.) Access to create the Id from what they selected with the sequential numbering system. (Based off last entered records number).
2.) Open up another form with the Id is just created in a text box and there will be other entry fields they must fill out before saving.
I am creating a database for leaders throughout the company to log defective product.
When each entry is created I would like to assign them a unique ID code that would look like this:
01-XXX-2020
02-AAA-2020
03-CCC-2020
First two digits are sequentially and would be formulated by access based off last record entry.
3 digits after dash are selected by user from combo box and are the "detection Location".
last 4 digits are the year.
hopefully I can ask how to without confusing the experts (because it confuses me.
Users will select the detection Location from a combo box.
Users will select the Year from a combo box (current year will be default so they actually wont ever change anything here).
Once the selections are made, the user will push a button that says "create record".
When the user clicks the button, I want two things to happen and this is what I need help with the code:
1.) Access to create the Id from what they selected with the sequential numbering system. (Based off last entered records number).
2.) Open up another form with the Id is just created in a text box and there will be other entry fields they must fill out before saving.