Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Group Tree in ActiveX viewer ( XI R2)

Status
Not open for further replies.

Turkbear

Technical User
Mar 22, 2002
8,631
US
Hi,
Is there a way to modify the properties of the ActiveX viewer in BOE XI R2?

I would like to prevent the Group Tree ( or allow it) , as well as control some of the other attributes ( like the Refresh, export or print buttons) like can be done with the 'standard' viewers :
Code:
Set Viewer = CreateObject("CrystalReports.CrystalReportInteractiveViewer")
With Viewer
  .reportSource = reportDocument
  .HasBooleanSearchButton = False
  .HasCrystalLogo = False
  If NbrParams > 0 then
  .ParameterFields = Fields
  End If
  .HasRefreshButton = True
  .IsDisplayGroupTree = False
  .HasPrintButton = true
  .PrintMode = 0 ' disable activeX Printing - set to 1 to enable (may require plug-in is set to 1)
  .IsOwnPage = true
End With

Is there anyway to do this with ActiveX?

Thanks..

[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
I've not tried it with XIR2, but you should be able to just to this:

Viewer.DisplayGroupTree = False

Kingfisher
 
Hi,
Thanks, but that is only used for the 'standard' viewers, the ActiveX is called be the ReportSourceBridge object and, since it is a DLL, I cannot see how to affect its attributes..



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top