Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Count no. of table in Subreport ???

Status
Not open for further replies.

Hung123

Technical User
Apr 25, 2007
2
US
I use CrystalReport1.RetrieveDataFiles to count no. of tables in main report, but how to do that for subreport?
 
Use the CrystalReport1.SubreportToChange property to specify the subreport. Then use the CrystalReport.RetrieveDataFiles as you normally would.
 
Thank. I have try this b4, but it doesn't work, for example, main report contain 2 tables, subreport contain 1 table, the .RetrieveDataFiles still return 2 after the .SubreportToChange.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top