Print Page | Close Window

hyperlink in crystal report

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=1987
Printed Date: 01 May 2024 at 1:57pm


Topic: hyperlink in crystal report
Posted By: annu
Subject: hyperlink in crystal report
Date Posted: 06 Jan 2008 at 10:03pm
hi,
 
      i have created a crystal report with many columns in windows application in visual studio 2005. now i want my columns to act as a hyperlink so that i can open another form say form1.cs.For this purpose i clicked on one of the columns and chose the hyperlink tab.in that i chose "A File" option and then chose form1.cs.but when i run the application  and clicked the column i got an error saying: "The system cannot find the file specified." i am unable to solve this problem.can someone tell me how to open another forn in windows application on the click of one of the columns in the crystal report.thanking in advance.



Replies:
Posted By: Savan
Date Posted: 06 Jan 2008 at 11:52pm
annu,
 
please try by linking another file such as a excel sheet or word file. if these type of files are opening then might be there is problem in opening the .cs type file. with what envoirnment is .cs file opened, Is it in .net envoirnment or some other envoirnment ? please let me know


-------------
Thanks
Savan


Posted By: BrianBischof
Date Posted: 07 Jan 2008 at 12:08am
Yes, I agree with Savan. Another file type should work.

However, as I read your question, I'm not certain about what you are trying to do. When click on a link you want Crystal Reports to open another "form" as in VS.NET form? You can't open a form from Crystal Reports. It has to open a file like Excel, Word, etc. So I'm not certain if what you're trying to do is possible.


-------------
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>


Posted By: annu
Date Posted: 07 Jan 2008 at 1:03am
hi savan,
 
                Thank u so much for the reply.i tried opening a word file and even excel sheet file.it is still throwing the same error: "The system cannot find the file specified." What could be the problem?i am working on .net environment in windows application where all the forms are saved in .cs extension.hence i want to open 1 such file...how can i go abt it??thanking in advance.
 
annu


Posted By: Savan
Date Posted: 07 Jan 2008 at 1:17am

Annu,

i would suggest one more solution please copy the .cs file which u want to open in the folder where u are having ur .net files (i.e current project  folder). i hope there is some path problem. so go ahead with this and get back if the problem still exists?Thumbs%20Up


-------------
Thanks
Savan


Posted By: annu
Date Posted: 07 Jan 2008 at 1:53am
thank u for the reply....i have my cs file in the folder aldready...but the problem is when i specify the path as form1.cs it opens up the code file of the form in dreamweaver...i dont understand the reason...i want the design page of the form to open.what should be my extension instead of form1.cs???please help....thanking in advance...


Posted By: Savan
Date Posted: 07 Jan 2008 at 1:55am

annu

do u want to open .aspx page in design  mode?


-------------
Thanks
Savan


Posted By: annu
Date Posted: 07 Jan 2008 at 2:02am
savan,
 
           i am working on windows and not on web application.in windows the extension is .cs for ur forms.but when i runthe crystal report the code fle opens....can u please tell me what extension i should use for windows application in order to view the design page??
 
Thanks,
 anu


Posted By: Savan
Date Posted: 07 Jan 2008 at 2:39am

Annu,

i am working on your problem i will get back as soon as i find some solution.


-------------
Thanks
Savan


Posted By: annu
Date Posted: 07 Jan 2008 at 3:01am

Thank u....even i will work on it



Posted By: BrianBischof
Date Posted: 07 Jan 2008 at 9:56am
If it is opening the .cs file using Dreamweaver, then that means that the file extension is associated with the Dreamweaver application. You have to go into Windows Explorer and click Tools | Folder Options | File Types and then find the .cs file type. Change it's associated programs to Visual Studio.

-------------
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>


Posted By: annu
Date Posted: 07 Jan 2008 at 11:28pm
hi,
 
    thanks for the reply.i will change the settings and see....but can u please tell me 1 thing....can we open a windows form(the design page) from a crystal report using hyperlink?
 
Thanks,
anu


Posted By: BrianBischof
Date Posted: 08 Jan 2008 at 8:48am
I haven't done this myself. If you associate the .cs file with Visual Studio, then it should open the file in Visual Studio. But I haven't tried it myself to say whether this will work or not.

-------------
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>



Print Page | Close Window