G
Guest
Hello All,
The code below is on the ON CLICK event in form "sfrm_qry_Pickup_Details".
Goal is to open form "frm Donors" and goto a specific tab, and in it's
subform "sfrm_Pickup_Pending", goto the matching record using the common
field of DonationsID.
110 DoCmd.OpenForm "frm Donors"
115 Forms![frm Donors].TabCtl200.Pages(4).SetFocus
116 Forms![frm Donors].sfrm_Pickup_Pending.SetFocus
' Find the record that matches the control.
117 Set rs = Me.Recordset.Clone
118 rs.FindFirst "[DonationsID] = " & Me![DonationsID]
119 If Not rs.EOF Then Me.Bookmark = rs.Bookmark
I do not receive an error, it just goes to the first record in the recordset.
Any assistance you can provide would be greatly appreciated.
The code below is on the ON CLICK event in form "sfrm_qry_Pickup_Details".
Goal is to open form "frm Donors" and goto a specific tab, and in it's
subform "sfrm_Pickup_Pending", goto the matching record using the common
field of DonationsID.
110 DoCmd.OpenForm "frm Donors"
115 Forms![frm Donors].TabCtl200.Pages(4).SetFocus
116 Forms![frm Donors].sfrm_Pickup_Pending.SetFocus
' Find the record that matches the control.
117 Set rs = Me.Recordset.Clone
118 rs.FindFirst "[DonationsID] = " & Me![DonationsID]
119 If Not rs.EOF Then Me.Bookmark = rs.Bookmark
I do not receive an error, it just goes to the first record in the recordset.
Any assistance you can provide would be greatly appreciated.