ST4RCUTTER
Registered User.
- Local time
- Today, 15:03
- Joined
- Aug 31, 2006
- Messages
- 94
I have two subforms that are sourced from the same query. One is in continuous form view and is used to select values, the second is in datasheet view and shows all the values that have been selected (multiple rows here).
My goal is that the user will use the first form to make selections and then the second subform in datasheet view will update with the new row of data. This confirms to the user that the date has been added.
Subform1 is called: frm_sub_milestones
Subform2 is called: frm_sub_milestones2
The afterupdate is set to trigger when the control [DateEntered] on Subform1 is populated. Subform2 should requery and refresh (not sure if both are required). My code looks like this:
After entering a date nothing happens, although the record is added to the table.
My goal is that the user will use the first form to make selections and then the second subform in datasheet view will update with the new row of data. This confirms to the user that the date has been added.
Subform1 is called: frm_sub_milestones
Subform2 is called: frm_sub_milestones2
The afterupdate is set to trigger when the control [DateEntered] on Subform1 is populated. Subform2 should requery and refresh (not sure if both are required). My code looks like this:
Code:
Private Sub DateEntered_AfterUpdate()
Me.subfrm_dates.Form.Requery
End Sub
After entering a date nothing happens, although the record is added to the table.