Hi There,
I have a form for employees to enter their vacation time in. I have two list boxes and one text box. The first list box 0, you pick your crew, then automacatically in List box 2, the employees names come up, then you enter your vacation time. Then it is suppose to save the record and make the text box (VacationTime) blank again.
Here is what I have so far and it is not working.
________________________________________
Private Sub List0_BeforeUpdate(Cancel As Integer)
Me.List2.Requery
End Sub
___________________________________________
Private Sub List2_AfterUpdate()
Me.CrewMember = Me.List2
End Sub
___________________________________________
Private Sub VacationTime_AfterUpdate()
DoCmd.Requery "VacationTime"
End Sub
____________________________________________
But the field Vacation Time, doesn't requery itself. Any help would be great.
Thanks,
Jen
I have a form for employees to enter their vacation time in. I have two list boxes and one text box. The first list box 0, you pick your crew, then automacatically in List box 2, the employees names come up, then you enter your vacation time. Then it is suppose to save the record and make the text box (VacationTime) blank again.
Here is what I have so far and it is not working.
________________________________________
Private Sub List0_BeforeUpdate(Cancel As Integer)
Me.List2.Requery
End Sub
___________________________________________
Private Sub List2_AfterUpdate()
Me.CrewMember = Me.List2
End Sub
___________________________________________
Private Sub VacationTime_AfterUpdate()
DoCmd.Requery "VacationTime"
End Sub
____________________________________________
But the field Vacation Time, doesn't requery itself. Any help would be great.
Thanks,
Jen