No current record

L

Lars Brownies

After getting the dialog 'the edits can't be saved because it was in use by
another user' in which the users has 3 options, users sometimes get the
undefined error 'No current record'. I haven't been able to find out why
this exactly happens. I would like to prevent this error to appear. Any idea
how I can accomplish that?
Thanks, Lars
 
S

Stefan Hoffmann

hi Lars,

Lars said:
After getting the dialog 'the edits can't be saved because it was in use by
another user' in which the users has 3 options, users sometimes get the
undefined error 'No current record'. I haven't been able to find out why
this exactly happens. I would like to prevent this error to appear. Any idea
how I can accomplish that?
1. Depending on the unknown Access version, updating it may help.
2. Check the involved primary keys. They should (must) not contain
imprecise data types NUMBER (SINGLE or DOUBLE). If your using a SQL
Server backend append a ROWVERSION column to each table and relink them.
3. Use defensive programming including pessimistic locking.

Otherwise, tell us a little bit more.

mfG
--> stefan <--
 
L

Lars Brownies

Thanks Stefan.
It's Access 2003 BE-FE. Primary keys are autonumber fields. Data editing is
done through bound forms. Default locking is 'no locks'. Introducing
pessimistic locking I think would be a huge re-write.

Lars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top