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

Image for Subreport caption...

Status
Not open for further replies.

fdgsogc

Vendor
Feb 26, 2004
160
CA
Similarly to the way I can add a hyperlink to an image, I'd like to use an image in place of a subreport caption. That is, I'd like to be able to click on an image and launch a subreport. Is this possible with CR9?
 
What's the source of the image?

If you're just using insert->Picture, then you can define a website, a file or anotehr report object as the link.

Right click the graphic after inserting and select Format Graphic->Hyperlink tab.

-k
 
Yes, I have used the Hyperlink tab when redirecting to other websites or my ColdFusion pages. It works well.

However, I would like to redirect the user to a second Crystal Report. I think the "report object" option is a possibility but I need to pass parameters to the other Crystal Report. Normally I use subreports to do that.

My scenario is as follows:
1. First report is a contact list.
2. Second report shows child records listing that contact's assets.
3. I would like to have a button in the detail section that when clicked will go to the second Crystal Report and list only the assets of the contact.

Thoughts?

P.S. I am inserting the image into the main report via Insert>Picture as you suggest.
 
I'm also using ReCrystallize Pro to convert my Crystal Reports into ASP pages that are using the Crystal web viewers. I guess one option would be to pass parameters to those ASP pages via a normal hyperlink tab on an image.
 
I wasn't suggesting that you use that means to insert the image, I was asking how (whether it was from a database, etc.), but thanks for clarifying.

The rub is in passing parameters, you were in great shape until you decided to include that...

You might place a subreport over the image and in the Format Subreport-Subreport->Subreport Name use Click here to open.

Give a similar illusion except that they need to click on the Click Here to OPen text, not anywhere on the graphic.

Sorry, all I could come up with right now without using external code...

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top