aaronjmack
MIS
- May 10, 2001
- 10
I have five combo boxes (each box getting its' list of data from a table) on a form for a user to choose. I would like the data chosen in each of the boxes to be combined together to create a sort of ID number in another table to be used by other forms and queries. For example:
User fills out form called "LOG" with these values:
Combo1 01 [From table "SRVC_MONTH"]
Combo2 25 [From table "SRVC_DATE"
Combo3 03 [From table "SRVC_YEAR"
Combo4 WED [From table "SRVC_DAY"
Combo5 AM [From table "SRVC_TIME"
The chosen data is being stored in a table called "SERVICES".
The user clicks a command button that Saves the data and closes the form. At the time the user clicks "Save", the data should be put together in a string, stored in the "SERVICE_ID" column in the SERVICES table. The string would look like this:
"012503WEDAM"
Can someone help me with the OnClick code that would allow me to do this?
Thank you VERY much!
Aaron J. Mack
Blade Computer Services
User fills out form called "LOG" with these values:
Combo1 01 [From table "SRVC_MONTH"]
Combo2 25 [From table "SRVC_DATE"
Combo3 03 [From table "SRVC_YEAR"
Combo4 WED [From table "SRVC_DAY"
Combo5 AM [From table "SRVC_TIME"
The chosen data is being stored in a table called "SERVICES".
The user clicks a command button that Saves the data and closes the form. At the time the user clicks "Save", the data should be put together in a string, stored in the "SERVICE_ID" column in the SERVICES table. The string would look like this:
"012503WEDAM"
Can someone help me with the OnClick code that would allow me to do this?
Thank you VERY much!
Aaron J. Mack
Blade Computer Services