Hi,
I have written a macro in Access VBA which executes a DCount on a query and if the DCount is above 1 it opens and prints a report. However when it gets to the line of code which opens the report it stops and debugs producing an error of "run time error 3071: This expression is typed incorrectly, or it is too complex to be evaluated"
The code I have created is below and I have highlighted the line it debugs on in red:
I have tried reducing it because at first I had![]()
Please Login or Register to view this content.
However it kept producing that error.Does anyone know why it keeps debugging on that line?![]()
Please Login or Register to view this content.
Thanks,
jeskit![]()
![]()
Bookmarks