Hi,
I have a Navigation form inside which resides the Navigation subform and another subform in the Navigationsubform.Now if one wants to edit data by going into their specific ID no which is an auto number how do I do it using a Macro.I have tried using the combo box to search out the ID no,but the subform inside the Navigation form does not appear to edit. The reason being Navigation subform Recordsource is a table which is linked to the table for the subform inside Navigation subform
I have tried using code but the nos are not coming up to select
Private Sub cboMtSearch_Click() where cboMtSearch is the control for combo box select
Dim MyMasterID As Integer
MyMasterID "Select * from Master where ([MasterID]=" & Me.cboMtSearch & ")"
Me.NavigationForm.NavigationSubform.Form.RecordSou rce = MyMasterID
Me.NavigationForm.NavigationSubform.Form.Requery
End Sub