Michael,
Adding "file://" before the path allows the hyperlink to work in
Crystal Enterprise. Good call there. It does still open in a
browser rather than lauching the program. Since I'm not actually
working on a use for this at the moment I'm going to leave it there.
We haven't heard back from Jim, who posed the original question, on
any of the feedback to know which direction he is heading or what
further assitance he may need.
Thanks for the help with the HTML.
Brian
--- In vantage@yahoogroups.com, "Podlin, Michael"
<michael.podlin@v...> wrote:
Adding "file://" before the path allows the hyperlink to work in
Crystal Enterprise. Good call there. It does still open in a
browser rather than lauching the program. Since I'm not actually
working on a use for this at the moment I'm going to leave it there.
We haven't heard back from Jim, who posed the original question, on
any of the feedback to know which direction he is heading or what
further assitance he may need.
Thanks for the help with the HTML.
Brian
--- In vantage@yahoogroups.com, "Podlin, Michael"
<michael.podlin@v...> wrote:
> Because its defined in the report as a hyperlink, crystal is addingthe
> default "http://path" reference. In order to make it work as afile, the
> HTML reference should really be set to "file://path".due to the
>
> The fact that it opens in the browser and not the application, is
> browser you are using at the time and how it is designed tohandle "file://"
> links. MS IE tries to find an extension association in theregistry of the
> pc and then launch that application in a browser format.not
>
> I ran across this whole problem here with the additional issue of
> knowing the extension of the file. The only possible way I foundaround
> this was to use visual basic to read a directory structure usingwild cards.
> If it found something I could then read the extension from thedirectory
> dump. Then search the pc registry for a exe association for thatextenstion
> and execute the application and loading that file. I believe itwould be
> possible using the browser OCX/DLL control in your own applicationand
> trapping the "before navigate" to read the url and if it was a filethe
> attachment, read the registry and find the associated app to launch
> program and load the file.set
>
> -----Original Message-----
> From: Brian Stenglein [mailto:bstenglein@c...]
> Sent: Wednesday, September 29, 2004 8:18 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: Reports hyperlinking to Part Drawings, etc.
>
>
> Yesterday afternoon I tried running my test report through our
> Crystal Enterprise to test distribution. The report ran fine, but
> when I clicked on the hyperlink the browser address changed to
> http://servername/virtualdirectoryname/The Path the hyperlink was
> for.being
>
> For some reason the server name and virtual directory name are
> added to the beginning of the hyperlink address and thus I receivea
> Page cannot be found error. If I remove the extra from thebeginning
> of the address manually, the browser does open the document Iwanted,
> although it opens it in a browser and not the program it was openedwould
> with in design mode. So I don't know how you'd get Excel to open.
>
> Does anyone have any experience using Hyperlinks in Crystal Reports
> with Crystal Enterprise? Any ideas why clicking the Hyperlink
> cause the Server Name and Virtual Directory name to be added to theI
> path?
>
> Jim, what is your distribution method for Crystal Reports?
>
> As an alternative to Crystal, you might trying doing it in Access.
> tried a quick test and if you create a hyperlink field in a tablethe
> along with the rest of the data you want, you can set up a form,
> (hyperlinks don't work in Access Reports), to view the data, then
> clicking on the hyperlink will open the appropriate file in Excel.
>
> Brian Stenglein
> Clow Stamping Co.
>
> --- In vantage@yahoogroups.com, "Brian Stenglein" <bstenglein@c...>
> wrote:
> > Jim,
> >
> > Sounded like an interesting problem so I did a quick and simple
> test
> > to see if I could do anything with hyperlinks in Crystal. I have
> > digital photo's of our parts in a network folder that I used as
> > destination for the hyperlink. I created a simple report listinghelp
> the
> > PN's and created a formula field to turn the PN into the correct
> > path. "f:\photos\"+[PN]+".jpg" My path was simpler than yours
> will
> > be, but you should be able to turn your PN into a string that
> > identifies the location of your file. Let me know if you need
> > with that. Then you can go into the Format Editor for the PNthe
> field,
> > click on the hyperlink tab, choose file, and for the hyperlink
> > information, click the formula button to the right. Insert the
> name
> > of the formula you used to identify the location, don't forget
> > file extension, and then run your report. Clicking on the PNand
> should
> > open your file. I've only tested this in the Crystal Designer,
> > not with any distribution method.a
> >
> > Brian Stenglein
> > Clow Stamping Co.
> >
> > --- In vantage@yahoogroups.com, "Jim Horton" <jim.horton@m...>
> wrote:
> > >
> > > Has anyone successfully linked a Crystal or Progress Report to
> > procedure which can identify aretrieves
> > > specific filename... based on a current field referenced by the
> > current
> > > table in the Report? I'd love to discuss details with you if
> > possible.
> > >
> > > We would like to have a Report which does the following:
> > >
> > > 1. From the Report screen, with PartNum "2602m12" selected,
> > > 2. Click the "hyperlinked" PartNum 2602m12.
> > > 3. Which finds folder "2600" them subfolder "2602" then
> > the "2602m12.xls" file from the server and opens it in Excel.must have
> > >
> > > Does anyone know or have an example of a Crystal or Progress
> > procedure would do such a thing?
> > >
> > > Jim Horton
> > > Mol-Son, Inc.
> > > jim.horton@m...
>
>
>
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You
> already linked your email address to a yahoo id to enable access. )Builder and
> (1) To access the Files Section of our Yahoo!Group for Report
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/links
> Yahoo! Groups Links