?
Solved

re:  supressing printer icon on Crystal Report ( called from VB6)

Posted on 2003-03-23
5
Medium Priority
?
201 Views
Last Modified: 2012-06-27
Hi, I am trying to allow printing icon to show up only under certain conditions(i.e. certain user id only) for my VB6 program.

Is there any property in the crystal report control that I can set to disable printing from the crystal report generated ?

Thanks.
0
Comment
Question by:edlkooi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 120 total points
ID: 8193062
Try

If (PrintingOKConditions) then
   CRViewer1.EnablePrintIcon = True
Else
   CRViewer1.EnablePrintIcon = False
Endif

mlmcc
   
0
 

Expert Comment

by:Phoebe_Yi
ID: 8193651
Please try:

When you pass parameter to generate the report from vb, please add a new parameter->HasPrintButton in your vb code and set:
HasPrintButton=false
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 8195681
Try

If (PrintingOKConditions) then
  CRViewer1.EnablePrintButton = True
Else
  CRViewer1.EnablePrintButton = False
Endif

mlmcc
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question