All,
I would like to Open another form from a current form, based on a ID field. The two forms I have are connected to two different tables. Would I have to create a query with those two tables, and relate the ID fields, and assign the query to both forms? Would there be code for the form that has the command button like this, after I relate:
Private Sub Form_Click()
Dim stLinkCriteria As String
DoCmd.ApplyFilter , Me![ID] = Forms![frmTwo]![ID]
Is this the correct approach? Please help.
Jerome
I would like to Open another form from a current form, based on a ID field. The two forms I have are connected to two different tables. Would I have to create a query with those two tables, and relate the ID fields, and assign the query to both forms? Would there be code for the form that has the command button like this, after I relate:
Private Sub Form_Click()
Dim stLinkCriteria As String
DoCmd.ApplyFilter , Me![ID] = Forms![frmTwo]![ID]
Is this the correct approach? Please help.
Jerome