How can I lock a record in Multi User using CRecordSet?
Printable View
How can I lock a record in Multi User using CRecordSet?
You can't... Most of the ODBC drivers dont support that kind of operation.
The way you have to lock a record is using m_pSet->SetLockingMode(pessimistic), but it returns a error "ODBC driver doesn't support that kind of operation".