|
-
Dec 1st, 2008, 11:28 AM
#1
Thread Starter
New Member
Specify Database Location of subreport
Hello,
I have a report with a sub-report but when specifying the location for the subreport it fails saying table doesn't exist. When I remove subreport it works fine. Both main and subreport use the same table, here the code...
Set Report = New CRProgMaqImp4
Report.Database.Tables(1).Location = "wcajtot" & RsUsu.Fields("Usuario")
Set crSubReport = Report.OpenSubreport("Tarimas")
crSubReport.Database.Tables(1).Location = "wcajtot" & RsUsu.Fields("Usuario")
Thanks.
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
|