ResultCount Property

Applies To   See Also  

The total number of objects that match a query. Read-Only.

Syntax

Property ResultCount As Long

Remarks

Using the InfoStore's Query Method and a simple SELECT statement, you can retrieve a collection of InfoObjects from the APS InfoStore. ResultCount determines the total number of InfoObjects found on the APS that match the query. This number may be different from the number of InfoObjects that are actually returned since the query may have restrictions placed on it. In Crystal Enterprise, SELECT * returns an upper limit of 1000 objects. The TOP N operator can be used to either restrict the number of objects that are returned, or to specifically ask for more than 1000 objects.



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com