beanie_d83
Registered User.
- Local time
- Today, 07:20
- Joined
- Feb 5, 2013
- Messages
- 29
Hi all,
I'd like to know how to return a prefix based on year to a text box in a form.
Each trailer we build will have this code on it, much like a vin plate on a car and the prefix will change when a new year begins and the numbering will start again from the beginning.
For example the year prefix for 2016 is J follow by 001, 002 etc etc.
I have created a table with the following:
tbl_ProductionYear
YearID (PK)
Year
YearPrefix
Ideally I would like to combine this prefix with the production number into one text box but I'm not savvy enough to know how to do this so I have used 2 text boxes and just placed them next to one another!
I'd like to know how to return a prefix based on year to a text box in a form.
Each trailer we build will have this code on it, much like a vin plate on a car and the prefix will change when a new year begins and the numbering will start again from the beginning.
For example the year prefix for 2016 is J follow by 001, 002 etc etc.
I have created a table with the following:
tbl_ProductionYear
YearID (PK)
Year
YearPrefix
Ideally I would like to combine this prefix with the production number into one text box but I'm not savvy enough to know how to do this so I have used 2 text boxes and just placed them next to one another!