bob fitz
AWF VIP
- Local time
- Today, 02:19
- Joined
- May 23, 2011
- Messages
- 4,806
I keep getting the following problem.
The following lines cause the error:
I don't have an object in the db called 'Custom rpt' or a reference to it in any of my code.
Any ideas on what might be wrong?
The following lines cause the error:
Code:
stDocName = "rptSales"
DoCmd.OpenReport stDocName, acPreview, , strWhere
Any ideas on what might be wrong?