Requering Master Forms

aqif

Registered User.
Local time
Today, 14:52
Joined
Jul 9, 2001
Messages
158
Hi :)

I have one master Forms called FrmDrugApprovals and one subform called ApprovalPrescriptions. Whenever I enter subform entry and try to refresh the main form the main form goes to first record. Is there anyway I can keep the main form stay on the record it is ?

Cheers!
Aqif
 
Private Sub Address_AfterUpdate()
Dim rs As String

rs = Forms!Customers!CustomerID

DoCmd.RunCommand acCmdSaveRecord
Forms!Customers.Requery
Forms!Customers!CustomerID.SetFocus
DoCmd.FindRecord rs
Me.SubformField.SetFocus
Else
End If

End Sub
 

Users who are viewing this thread

Back
Top Bottom