In my database, when opening reports this error comes up occassionally. It does not happen all the time but it does happen. The error saysm "Run Time Error 2501". I am usind VB code attached to my command button to open the report. The code is as follows......
Dim strReportName As String, strFilter As String
strReportName = "TeDaysReport"
DoCmd.OpenReport strReportName, acViewPreview, , strFilter
Any help would be great!!!
Thanks, Brian
Dim strReportName As String, strFilter As String
strReportName = "TeDaysReport"
DoCmd.OpenReport strReportName, acViewPreview, , strFilter
Any help would be great!!!
Thanks, Brian