Vs: EOF and counting
One (not so beautiful) solution...
If you haven't got thousands of records, do the following at app-startup:
Iterate through the records for a RecordCount. Take away 100 and store this
new value in a variable.
Then check if you've reached this value
If you have a LOT of records that would prevent this, iterate once, store
the value you get in a ini-file, from where you can pick it at will, change
it when adding records and store a new value into the ini-file.
It's a crude patch, but it works...
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL