Hi guys,
want to switch between several forms. To go to the specific record I use this code:
the problem is that the record is now fixed and i am not able to switch between other records...so the filter or where - restriction must be removed after matching the record.
Maybe there is another solution to take the current record to another form. many thanks in advance..
Cheers Martin
want to switch between several forms. To go to the specific record I use this code:
Code:
Private Sub GoConfirmation_Click()
Dim strwhere As String
strwhere = "[MBS Ref] = """ & Me.[MBS Ref] & """"
DoCmd.Close acForm, "Edit"
DoCmd.OpenForm "Confirmation", acNormal, "", strwhere, acReadOnly, acNormal
End Sub
the problem is that the record is now fixed and i am not able to switch between other records...so the filter or where - restriction must be removed after matching the record.
Maybe there is another solution to take the current record to another form. many thanks in advance..
Cheers Martin