Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fetching records on Firebird, produces crashes

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello,

I have one problem working on Firebird (Fre version of Interbase).
When I have a table or a query with many many records, for example 300000 records, when I am in the first record, and I want to go directly to the last record, I have a big problem.

The problem is that i must use the command
QR.RecNo=300000;
or the command
QR.Last;

This commands fetches all the records in the database from the actual record to the record that you want to access, and when you have 300000 records or more, the program takes some time (very long), or the program is crashed.

How can I avoid that??????

Thank you very much in advance!!!
 
Records are fetched to the memory, so maybe you are just running out of system resources?

--- markus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top