dbTalk Databases Forums  

Print preview won't print

comp.databases.ms-access comp.databases.ms-access


Discuss Print preview won't print in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Phil
 
Posts: n/a

Default Print preview won't print - 09-27-2010 , 10:56 AM






I have a button on quite a complex form (with 3 combo boxes, 1 listbox and 3
continuous subforms, 1 with 2 combo boxes) This has a button which runs

DoCmd.OpenReport t "RptPaymentRecord", acViewPreview, , "MemHeadOfHouseID = "
& MemHeadOfHouseID No problem

The report again has 2 subreports.

If I try to print the report I get
"A custom macro in the report has failed to run, and is preventing the report
from rendering"

DoCmd.OpenReport t "RptPaymentRecord", acViewNormal , "MemHeadOfHouseID = " &
MemHeadOfHouseID Again no problem.

My only thought is the error message should be "Too many databases open"
Are databases open for both the preview and the print operation

Any other ideas gratefully received.

Phil

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.