|
-
Aug 31st, 2010, 12:25 PM
#1
Thread Starter
Lively Member
How to write short path to reach to Crystal Report
Hi everybody
I have created a crystal report I have faced a problem which is writing the full path for crystal report, I have tried to write the following code:
myReportDocument.Load("..\CtrlReport.rpt")
but it is still not working, I mean the report viewer appears but without information,when I put the full path it is OK.
Can any one help me to write something to return back to root(Short Path)?
-
Sep 3rd, 2010, 05:22 AM
#2
Frenzied Member
Re: How to write short path to reach to Crystal Report
-
Sep 3rd, 2010, 05:28 AM
#3
Thread Starter
Lively Member
Re: How to write short path to reach to Crystal Report
no it is inside my project folder at visual studio 2005.
-
Sep 3rd, 2010, 05:57 AM
#4
Frenzied Member
Re: How to write short path to reach to Crystal Report
your present code assumes that the location of your Report file is at c:
post the full path where is file is located...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|