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:
Post a Comment