I am using VC++ and microsoft access for my application,
and opening the database through CRecordset.
After addtion of 30000 records I am getting the error:

3260 couldn't update; currently locked by user <1> on machine <2>.

Though this is a single user system and adding all these records from single function this error is coming.

After Clicking OK program is running through it's normal way and adding new records.

Again after adding few thousands of records the above error comes.

setting used are Dynaset and pessimistic locking.

Is there is any mechanism in vc++ so that no error message from system should be displayed.

What Setting of access should I use to remove the above error.

Please help me.