concurrency violation

A

Agnes

For the previous post(2 months ago), I think I had solved the problem
however, i got the same error
Form A (tableA) (after insert the new record , save it, and then amend the
record, )no concurrency violation.
however, Form A called Form B (Form B will amend the same record with
different fields content) , i save it in Form B , and the back to Form A
(amend the content) then, I got the concurrency problem again.
 
N

Nick Malik [Microsoft]

when form B returns to form A, form A should reread the record from the DB,
assuming that Form B (and perhaps other users) have modified it.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
 
S

SzeSze

Thanks Nick.
How can I reread the data ?
I am using Dateset and , Should I refill the dataset ?

However, if I refill the dataset, i need to move to the original position of
that record, Any other method ?

Nick Malik said:
when form B returns to form A, form A should reread the record from the
DB,
assuming that Form B (and perhaps other users) have modified it.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
 

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