PreviousNextIndex

Count property


(Windows only; GUI for .NET only)

The number of records in the result set for the query associated with the top-level table displayed in the bound .NET control.

You can use this property when the BindingSource object is bound to a query or a buffer. If bound to a ProDataSet object, this property applies only to the top-level query. When bound to a buffer, the value is always 1.

Data type: INTEGER

Access: PUBLIC Readable

Applies to: Progress.Data.BindingSource class

Note: For queries with large result sets, you might want to set the MaxDataGuess property to provide bound .NET controls with a value to use for initialization. Otherwise, the ProBindingSource must read every record in the result set to provide a value for the Count property for the control to use.

See also: MaxDataGuess property


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex