janerussel
MIS
I have unbound combo boxes on an unbound subform embedded in my main form that provide selections for filters on my (single)main form. When a selection is made from one or more of the combo boxes the click event on a "go" button triggers a pop-up (continuous)form that returns all the matches. On the pop up form the user "clicks" the record that is desired. On that "click" event I want the main form underneath to find the selected record. Would the code look something like this?
It isn't working
Private Sub Form_Click()
Dim stLinkCriteria As String
DoCmd.ApplyFilter , Me![ContactID] = Forms![frmRolEdit]![ContactID]
End Sub
[sig][/sig]
It isn't working
Private Sub Form_Click()
Dim stLinkCriteria As String
DoCmd.ApplyFilter , Me![ContactID] = Forms![frmRolEdit]![ContactID]
End Sub
[sig][/sig]