ODBC--Can't lock all records.

Error 3254

Using ODBC (Open Database Connectivity)1DDWQ91, you tried to lock all of the records in an SQL database.  This error can occur if you base a form on an SQL database and then set the form's RecordLocks property to All Records.  Set the RecordLocks property to either No Locks or Edited Record, and then try the operation again.