Link to home
Start Free TrialLog in
Avatar of johnie
johnie

asked on

APPENDONLY Recordset

I want to append records to a table using the ADO Recordset. I create my recordset with SELECT * FROM Tablename. The problem is this retrieves all the records before I can do my AddNew's and some tables are massive! How can I do this without retrieving any records? How do you use the "Append-only Rowset" property?
ASKER CERTIFIED SOLUTION
Avatar of grumpy147
grumpy147

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
select * from customermaster where 1=2
Give some condition like the above one, which is not matched (1 can never be equal to 2). Hence you always get an empty recordset.

You can add records to this recordset.