Count property (BindingSource)
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
(Windows only; GUI for .NET)
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 Read-only
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.