|
-
Jul 31st, 2007, 04:46 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] Set SubReport Data Paths?
Hi Peeps,
I do the following to set the data path of my reports :-
Code:
For iLoop = 0 To iTables - 1
mdiMain.repMain.DataFiles(iLoop) = sCatPath(sDBPath, FILE_DATABASE)
Next iLoop
This works great for just one report but how do I set the path of a sub report. I am using Crystal V8.5.
Thank you for any help,
Jiggy!
Last edited by Jigabyte; Jul 31st, 2007 at 09:59 AM.
-
Jul 31st, 2007, 09:55 AM
#2
Re: Set SubReport Data Paths?
One way is to "Open" the subreport.
Dim repSub As Report
Set repSub = repMain.OpenSubReport(SubReportName)
Then use your existing loop using the repSub variable instead of repMain.
-
Jul 31st, 2007, 09:58 AM
#3
Thread Starter
Frenzied Member
Re: Set SubReport Data Paths?
Thank you very much mate!
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
|