i am working with a vbaccelerators’ sgrid and need to load records as fast as i can.
am want ti use a recordset (am already using a collection) to store loaded records so that i effect any changes to the grid on it, save the changes to the recordset until i click save, then update the database with the recordset.
currently i load data from database to collection, from collection to grid. this makes the app slow for over 10k records which have to all be loaded once not in batches. using a recrdset will avoid two looping as i mentioned above.
my questions is how to i insert, delete, update specifi record(s) in a recordset? are there any utility classes or libraries to acheive this?
thanks
You can also use connection’s execute method like below. Just write normal sql insert query and pass to connection execute method.