dbTalk Databases Forums  

Cannot print from preview without getting error 3035

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


Discuss Cannot print from preview without getting error 3035 in the comp.databases.ms-access forum.



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

Default Cannot print from preview without getting error 3035 - 07-01-2011 , 02:20 PM






I've got a 2010 accdb that print previews a report. Here's the code:

DoCmd.OpenReport "<report name>", acViewPreview


If I attempt to print this report from the preview, I get error 3035 "System Resources Exceeded". Sometimes I get a message that there isn't enough memory and I need to shut unnecessary programs down.

If I change the code like so:

DoCmd.OpenReport "<report name>"

then it prints just fine.

Any idea what's causing this message? I have similar reports that I can preview, then print from the preview, just fine.

Thanks for any help or advice.

Reply With Quote
  #2  
Old   
Barry Edmund Wright
 
Posts: n/a

Default Re: Cannot print from preview without getting error 3035 - 07-14-2011 , 04:20 PM






I presume you can print other reports OK from preview. If not do a
"Detect and Repair" on office. If it is just that particular report
try exporting the report and any sub reports to another database then
delete the report(s), compact and repair the DB. Close the DB, start
the DB using the /decompile switch. Close the DB reopen, do a compact
and repair then import the report(s) and try running it again.

On Jul 1, 3:20*pm, emanning <emann... (AT) kumc (DOT) edu> wrote:
Quote:
I've got a 2010 accdb that print previews a report. *Here's the code: *

* * * * *DoCmd.OpenReport "<report name>", acViewPreview

If I attempt to print this report from the preview, I get error 3035 "System Resources Exceeded". *Sometimes I get a message that there isn't enough memory and I need to shut unnecessary programs down.

If I change the code like so:

* * * * *DoCmd.OpenReport "<report name>"

then it prints just fine. *

Any idea what's causing this message? *I have similar reports that I can preview, then print from the preview, just fine.

Thanks for any help or advice.

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.