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

Hyperlinking From Crystal 8.5 2

Status
Not open for further replies.

BettyM

Technical User
May 31, 2001
36
US
I have a Crystal Report in 8.5 that lists Word documents. I want to hyperlink on a document link and open Word into the specific document chosen. Something like:

winword.exe "C:\file101.doc"

winword.exe "C:\file102.doc"

Is that possible from Crystal?

 
Can you give us some more details as to what you are trying to do? Does the current report only list the names of the documents? You want to create those as hyperlinks? Do you have these documents on a webserver? Have you looked into inserting OLE objects within a report?

Kchaudhry
 
Hi,
Not really clear about what you want, but the list of Word documents ( if correctly specified, including full path)
can be formatted to be used as URL : Right-click the field containing the DOC info,choose Format, Paragraph, Interpret as HTML...
Clicking on this will open the doc..( assuming associations are set on each client's PC)




[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
The CR 8.5 report is in an application. The path to the document is very long. The prefix in the file name determines the subdirectory where the file is located.

I want to make a blue hyperlink from the file name in the CR report to the actual document in Word. I was thinking about writing code that contains a call to winword, determines the path for the document and inserts the specific file name from the hyperlink.

Is OLE what I explore to do this?
 
Right click the object that you want to hyperlink and select format. Click on the hyperlink tab, and then the "a file" radio button. Browse to the desired file.

If the filename/pathname is not a contact, and you can logically express it in a formula, click on the X-2 button to the right of the file name, and write your formula.

Windows associations takes care of the rest and will open the application first (in your case MS word) and then the specific filename.

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports
 
I know this is an old thread, but I thought this might be helpful...

You *should* be able to do what you want (winword.exe "C:\file101.doc") in a hyperlink. It works in the CR designer. However, it doesn't work in the ActiveX viewer.

I've been working on this problem for weeks with the BO support techs and this is their final response.

------------------
I discussed this issue with my senior resources and this issue is a known issue version 10 ActiveX Viewer and has been tracked under ADAPT00311441. This adapt is not currently being worked on, and has not been fixed in the version 11 viewer either. If you still want this functionality I would request you to submit a business case. I look forward to your reply.
------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top