Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing Sub-Report
Message
From
01/09/2004 07:04:29
 
 
To
01/09/2004 06:52:04
Bhavesh Desai
Apex Softcell (India) Pvt. Ltd.
India
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00938348
Message ID:
00938350
Views:
20
I have a sub-report in Report Footer B. First of all how to reference the sub-report and then How can I reference the database object within that subreport from vfp.

First, you need to open the subreport object from your main report object:
oSubRpt = oMainRpt.OpenSubreport("subreportname")
Then you should be able to access the database object associated with the subreport, in the same general way that you'd access the database object for the main report.
oDb = oSubRpt.Database()
Let me know if that helps...
Kevin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform