Have a search results form that is setup as a continuous form, when user double click on the case number it is to open a case review form for them to the set that they had select from the continuous form.
Problem is that I can get the form to open, however when applying the filter I get an error.
Here is the error:
Run-Time Error '2001':
You canceled the previous operation.
Here is the code that I am using to open the form and apply the filter.
Dim stFilter As String
stFilter = "CASE_NUMBER = " & Me!CASE_NUMBER
DoCmd.OpenForm "frmCaseHearingView", acNormal
Forms!frmCaseHearingView.Filter = stFilter
Forms!frmCaseHearingView.FilterOn = True
Thanks for the help in advance,
Mike
Problem is that I can get the form to open, however when applying the filter I get an error.
Here is the error:
Run-Time Error '2001':
You canceled the previous operation.
Here is the code that I am using to open the form and apply the filter.
Dim stFilter As String
stFilter = "CASE_NUMBER = " & Me!CASE_NUMBER
DoCmd.OpenForm "frmCaseHearingView", acNormal
Forms!frmCaseHearingView.Filter = stFilter
Forms!frmCaseHearingView.FilterOn = True
Thanks for the help in advance,
Mike