activating MyTable with large table
Posted: Wed 18 Apr 2007 11:27
hello,
from an earlier posting from 'Veli', i understand that activating a table is equivalent to 'SELECT * FROM table', i.e. all records are loaded into memory and can lead to an 'out of memory crash'. it was proposed to use TMyQuery instead of TMyTable.
for some purposes the proposal may be useful but i would like to move from record to record with Next() and in a second round with Previous() in order to process every single reocrd one by one.
this means that i do not need to simultaneously keep all records in memory but i need to at least access each record. how can TMyQery help me here ?
thanks
uwe
from an earlier posting from 'Veli', i understand that activating a table is equivalent to 'SELECT * FROM table', i.e. all records are loaded into memory and can lead to an 'out of memory crash'. it was proposed to use TMyQuery instead of TMyTable.
for some purposes the proposal may be useful but i would like to move from record to record with Next() and in a second round with Previous() in order to process every single reocrd one by one.
this means that i do not need to simultaneously keep all records in memory but i need to at least access each record. how can TMyQery help me here ?
thanks
uwe