P
ptlm65
I have a table "tblStudents" with three fields
StudentID (Auto Number)
Last Name
First Name
And a second table "tblHours" with four fields
StudentID (foreign key to StudentID)
Hours Given
Date Worked
Hours Worked
I have a form with a combo box linked to "Last Name" and "First Name
of a query based on "tblStudents"and I have two text boxes.
one text box "txtLast Name" that automatically fills with the name
choose in the combo box.
My problem is the second text box "txtHours Given" When I choose a nam
from the combo box I want it to not only enter the name into the firs
text box but I want the hours given for that student to automaticall
backfill in the second text box. Can anyone help me code the secon
text box?
Also,
I want to use that form to enter the number of hours worked and have
command button that will subtract the hours worked from "Hours Given
and have the new total display in a text box for hours remaining. Ca
anyone help me with that code? Any help would be so appreciated thanks
StudentID (Auto Number)
Last Name
First Name
And a second table "tblHours" with four fields
StudentID (foreign key to StudentID)
Hours Given
Date Worked
Hours Worked
I have a form with a combo box linked to "Last Name" and "First Name
of a query based on "tblStudents"and I have two text boxes.
one text box "txtLast Name" that automatically fills with the name
choose in the combo box.
My problem is the second text box "txtHours Given" When I choose a nam
from the combo box I want it to not only enter the name into the firs
text box but I want the hours given for that student to automaticall
backfill in the second text box. Can anyone help me code the secon
text box?
Also,
I want to use that form to enter the number of hours worked and have
command button that will subtract the hours worked from "Hours Given
and have the new total display in a text box for hours remaining. Ca
anyone help me with that code? Any help would be so appreciated thanks