D
Dan
I want to use a Query instead of an SQL statement to filter a report. I want this same query to be used several times throughout this project and do not want to have to find it in code every time it needs to be changed.
I have been able to use the SQL code successfully, but I think that it will be very difficult for someone else to manage later down the road.
I am looking of something like:
With Reports![rptRosters]
.Filter = "ID = Name of Query"
.FilterOn = True
End With
Your help is greatly appreciated!
I have been able to use the SQL code successfully, but I think that it will be very difficult for someone else to manage later down the road.
I am looking of something like:
With Reports![rptRosters]
.Filter = "ID = Name of Query"
.FilterOn = True
End With
Your help is greatly appreciated!