M
Max
Windows XP
Access 2002
I have a report that prints out the same address in an unbound text box to a
C5 envelope.
If I select the report in the Reports window and then Print, it works fine.
If I use code to do the same thing Access exits without a prompt. The same
thing happens if I try to open the form in design view.
I have full permissions on this database, and I have already tried
recreating the database from new and importing all the elements but still
the problem persists. None of the references are missing.
Any suggestions?
Thanks in advance,
Max
Code:
Dim DocName As String
DocName = "C5WerndaleNat"
DoCmd.OpenReport DocName, acNormal
Access 2002
I have a report that prints out the same address in an unbound text box to a
C5 envelope.
If I select the report in the Reports window and then Print, it works fine.
If I use code to do the same thing Access exits without a prompt. The same
thing happens if I try to open the form in design view.
I have full permissions on this database, and I have already tried
recreating the database from new and importing all the elements but still
the problem persists. None of the references are missing.
Any suggestions?
Thanks in advance,
Max
Code:
Dim DocName As String
DocName = "C5WerndaleNat"
DoCmd.OpenReport DocName, acNormal