Skip to Content
0
Former Member
Feb 14, 2011 at 04:06 PM

ReportDocument.Rows.ToString vs ReportDocument.Rows.Count

55 Views

I can't seem to find any documentation on ReportDocument.Rows.ToString vs ReportDocument.Rows.Count. What is the difference between the two?

I'm aware one returns a string and one a integer, but why would I use one over the other. For instance one of my reports returns "37" for ReportDocument.Rows.ToString and for the same report ReportDocument.Rows.Count returns 1 as an interger. Another report returns "" (an empty string) as ReportDocument.Rows.ToString and 618 as an interger for ReportDocument.Rows.Count. My intent is to find the number of records in the report. I'm a newbie to BOXI /CR api's. I think I need to use ReportDocument.Rows.Count but I'm not sure. I'm using Boxi 3.1 Enterprise, Crystal Reports XI.