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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB.NET ReportDocument object

Status
Not open for further replies.

SABS

Programmer
Nov 21, 2003
14
CA
I'm working in VB.NET and need to access the CrystalDecisions.CrystalReports.Engine.ReportDocument UseCount property for reports that are not within the project. I can do this for a report that is part of the project as follows:

Dim i As Integer, j As Integer

cReport = New SALES_REPORT
For i = 0 To cReport.Database.Tables.Count - 1
For j = 0 To cReport.Database.Tables.Item(i).Fields.Count - 1
TextBox1.Text += cReport.Database.Tables.Item(i).Fields(j).Name & " " & cReport.Database.Tables.Item(i).Fields(j).UseCount
Next
Next

In this case SALES_REPORT is a Crystal Report in the project. However, I can't figure out how to accomplish the same thing for external reports.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top