G
Grace
I have the following fields in a table called Names:
First Name; Last Name
I have a form I use for entry purposes that has the two mentioned fields and
a command button
I have a report entitled - Names
The command button allows me to preview the Names report after filtering
using the built in access filter.
Once I create a filter, all works great. However, what is best way to remove
the filtered results so that I can view all unfiltered records?
Any assistance is greatly appreciated.
My code for the command button is:
If Not IsNull(Me.Filter) Then
DoCmd.OpenReport "Names", A_PREVIEW, , Me.Form.Filter
DoCmd.Maximize 'Maximize the report window.
Else
MsgBox "Apply a filter to the form first"
End If
First Name; Last Name
I have a form I use for entry purposes that has the two mentioned fields and
a command button
I have a report entitled - Names
The command button allows me to preview the Names report after filtering
using the built in access filter.
Once I create a filter, all works great. However, what is best way to remove
the filtered results so that I can view all unfiltered records?
Any assistance is greatly appreciated.
My code for the command button is:
If Not IsNull(Me.Filter) Then
DoCmd.OpenReport "Names", A_PREVIEW, , Me.Form.Filter
DoCmd.Maximize 'Maximize the report window.
Else
MsgBox "Apply a filter to the form first"
End If