How to stop a report from printing in 2009 classic client

Get our Free Newletter

Don't you have the time to be online here at DUG every day? So how do you follow what is going on in the Dynamics industry and community?
If you subscribe to the DUG Newsletter then you can relax! We will make sure that you don't miss the big news!

Check out our
Newsletter Subscription Center
page a complete list of our different newsletters.

Not Answered This post has 0 verified solutions | 4 Replies | 1 Follower

42 Posts
389 Points
Joined: 2012-12-25
Last Online:
2014-4-11 13:30
Location: delhi-India
pooja posted on 2013-11-14 12:44

I have created  a report which is Processing only = false and Use Request From = false too.

Now when i RUN this report from a FORM a print command will be sent to the printer.

But what i want is not to print the report i just want it to run but i can not make it Processing Only = true.

Is there any other method to stop printing report in this case.

 

Any suggestions please...

Thank You.

All Replies

Male
26 Posts
462 Points
Joined: 2013-10-4
Last Online:
2013-12-17 14:56
Location: Stuttgart/Germany
Jan replied on 2013-11-14 12:46

Try to delete all sections, then set it to processing only = true.

42 Posts
389 Points
Joined: 2012-12-25
Last Online:
2014-4-11 13:30
Location: delhi-India
pooja replied on 2013-11-14 12:49

No sir i can not delete the sections.

Its a standard navision report.

Any other method.

Male
26 Posts
462 Points
Joined: 2013-10-4
Last Online:
2013-12-17 14:56
Location: Stuttgart/Germany
Jan replied on 2013-11-14 12:50

Oh wait, I think think I understood your problem wrong. You want to only show the report in print preview right? I think this is not possible directly. You could try to use SendKeys...like setting the report to show the request form and on the requestform you have code to send the shortcut for print preview to the client. This way the the request form would show up very shortly and then it would go right into print preview.

Male
136 Posts
4,081 Points
Joined: 2009-10-18
Last Online:
2014-4-23 13:38
Location: Singapore
Akhilesh replied on 2013-11-15 10:11

Hi Pooja 

try this Yes

Report - OnPreReport()
IF NOT ISSERVICETIER THEN
 IF CurrReport.PREVIEW THEN;

 

Page 1 of 1 (5 items) | Get this RSS feed | Bookmark and Share