How to stop a report from printing in 2009 classic client

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

42 Posts
224 Points
Joined: 2012-12-25
Last Online:
2014-6-14 9:02
Location: delhi-India
pooja posted on 2013-11-14 12:44 rated by 0 users

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.

  • | Post Points: 6

All Replies

Male
26 Posts
357 Points
Joined: 2013-10-4
Last Online:
2013-12-17 14:56
Location: Stuttgart/Germany

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

  • | Post Points: 6
42 Posts
224 Points
Joined: 2012-12-25
Last Online:
2014-6-14 9:02
Location: delhi-India

No sir i can not delete the sections.

Its a standard navision report.

Any other method.

  • | Post Points: 5
Male
26 Posts
357 Points
Joined: 2013-10-4
Last Online:
2013-12-17 14:56
Location: Stuttgart/Germany

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.

  • | Post Points: 6
Male
139 Posts
2,954 Points
Joined: 2009-10-18
Last Online:
2016-2-2 8:01
Location: Singapore

Hi Pooja 

try this Yes

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

 

  • | Post Points: 5
Page 1 of 1 (5 items) | Get this RSS feed