You need to open a CRecordset object so that you can list all the records in a database table to the

Because you need to make only a single pass through the recordset to list the records to the printer, you should supply CRecordset::forwardonly as the first argument to the
Open() function. You should always use the fastest and least memory-consumptive cursor
for a given task.

No comments: