Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with subreports
Message
From
22/05/2002 02:30:57
Eugene Kolmakov
Millennium Technologies
Vladivostok, Russia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Title:
Problem with subreports
Miscellaneous
Thread ID:
00659745
Message ID:
00659745
Views:
51
I use CR reports in my VFP app. And I have a report which includes some subreports. When I run that report I use code like this:

...
oCrystal = CreateObject("Crystal.CrystalReport")
oCrystal.ReportFileName = "MyReport.rpt"
oCrystal.DataFiles[1] = "Tbl1.dbf"
oCrystal.DataFiles[2] = "Tbl2.dbf"
...

The point is that Tbl1 and Tbl2 tables are not visible in subreports. Is there any way to make tables included in main report visible for all subreports in that report?

I can add the tables directly in subreport in CR designer but I don't know the way to pass the table name to subreport from code.
Eugene
Next
Reply
Map
View

Click here to load this message in the networking platform