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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show the select expert button in a viewer

Status
Not open for further replies.

ecoapp

MIS
Apr 22, 2005
2
DE
Hi,

we want to use the select expert button in one of the viewers (DHTML, Java or Active X).

What do we have to do?

Regards
David
 
Hi,
A viewer is just a viewer ( Search features not withstanding) so no 'Select Expert' is available - what they see is what they get..

Allowing mods to a published report requires additional product licensing and a different interface for the users ( can be done in InfoView, if licensed)

[profile]
 
Hi,

"A viewer is just a viewer" ... I agree with that, but I don't want to change the report, I only want to get more flexibility.

The Active X Viewer prepared to show the "Select Expert Button". If you open a report with the Active X Viewer and watch the html source code you can see the parameters "<PARAM NAME="EnableSearchExpertButton" VALUE=0>" and "<PARAM NAME="EnableSelectExpertButton" VALUE=0>". If you save the source code as a html file and edit to "VALUE=1", put the file on the web server and open the file you get the two new buttons.

Meanwhile I searched a lot and found out that the only reason why this parameters are available is the compatibility to Seagate Info 7.x and Business Objects don't supports this functions any longer.

Regards
David
 
Hi,
If you switch to the newer Viewer ( Advanced DHTML) and use a custom csp/asp page to create it, you can add a Boolean Search function which will allow for subsetting a group of records based on criteria enter by the user ( see the CE Viewers help file - search for : Report_Viewers.chm)

The code is sometyhing like:

Code:
'Create a viewer object and view the report
Set Viewer = CreateObject("CrystalReports.CrystalReportInteractiveViewer")
With Viewer
  .ReportSource = ReportSource
        .HasBooleanSearchButton = True
        .HasCrystalLogo = True
        .EnableBooleanSearch = True
        .HasExportButton = True
        .IsDisplayGroupTree = False
        .ShowAdvSearchConditionsTab = True
        .ShowAdvSearchFieldsTab = True
        .Name = "interactiveViewerName"
        .HasHelpButton = False
        .AdvSearchShowFields = showFields
        .IsOwnPage = True
  End With


Not sure what you mean by more flexibility...

[profile]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top