A10Instructor
Technical User
Hi,
Been away from access for a while and need some help with unbound text boxes.
I have a form in which the header has several combo boxes that allow the user to select certain data (for example "courses"). Once they have made a selection, it then populates a corresponding unbound text box in the detail section of the form. This is working great and here is the code.
Now I wish to take the data contained in the unbound text boxes save it to a record in a table called class_data when the user selects a button labeled 'Continue'.
I set this form up in the details section to give the user a chance to review the data selected, ensuring that it is correct. If not, they can make the change.
Eventually this data will be used to fill in a report that has a certificate as the background.
Any help is appreciated.
Thanks
A10 Instructor
"The World is My Classroom
Been away from access for a while and need some help with unbound text boxes.
I have a form in which the header has several combo boxes that allow the user to select certain data (for example "courses"). Once they have made a selection, it then populates a corresponding unbound text box in the detail section of the form. This is working great and here is the code.
Code:
Private Sub Comboselcrs_AfterUpdate()
On Error Resume Next
Comboselcrs.SetFocus
Me.txtcrscode = Comboselcrs.Column(0)
Me.txtcrsname = Comboselcrs.Column(1)
Me.txtpdscode = Comboselcrs.Column(2)
Me.txtcrshours = Comboselcrs.Column(3)
Me.txtccafhours = Comboselcrs.Column(4)
I set this form up in the details section to give the user a chance to review the data selected, ensuring that it is correct. If not, they can make the change.
Eventually this data will be used to fill in a report that has a certificate as the background.
Any help is appreciated.
Thanks
A10 Instructor
"The World is My Classroom