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...

Erik Sagfors