C
cutepaloma405 via AccessMonster.com
I have two forms: frmStudent and frmCourse. I can open frmCourse from
frmStudent on the current record by linking the field txtEmployeeID and using
the following code on frmCourse.
Private Sub Form_Load()
If Me.NewRecord Then
[EmployeeID].DefaultValue = Forms![Student]![EmployeeID]
End If
End Sub
My problem is that I cannot add more than one record with the field
txtEmployeeID already on it. After that I would have to manually type in the
txtEmployeeID. What can I do so that I wouldn't have to type the
textEmployeeID manually?
frmStudent on the current record by linking the field txtEmployeeID and using
the following code on frmCourse.
Private Sub Form_Load()
If Me.NewRecord Then
[EmployeeID].DefaultValue = Forms![Student]![EmployeeID]
End If
End Sub
My problem is that I cannot add more than one record with the field
txtEmployeeID already on it. After that I would have to manually type in the
txtEmployeeID. What can I do so that I wouldn't have to type the
textEmployeeID manually?