After Inserted, can't update the record
After Inserted, can't update the record
От:
"richard" <richard@itl.iii.org.tw>
Дата:
Hi all:
Please Help me. I use 7.1.3 and odbc version 07.01.0009 . Use Borland C++ Builder 5.0 through BDE And it have the strange action.
First, I insert a new record and post it .
After that, I modify the record, post it again.
Then, the BDE give me a error message "Couldn't perform the edit because another user changed the record."
Finally, my program can't work.
If I use TDBGrid, I can find that I Insert a new record and post it, then the record will dispel.
Regards,
Richard Yang
Re: After Inserted, can't update the record
От:
Hal Davison <hal@faams.net>
Дата:
As a long shot...look at your record scoping. --Hal. On Tue, 11 Dec 2001, richard wrote: > Hi all: > > Please Help me. I use 7.1.3 and odbc version 07.01.0009 . Use Borland C++ Builder 5.0 through BDE And it have the strange action. > First, I insert a new record and post it . > After that, I modify the record, post it again. > Then, the BDE give me a error message "Couldn't perform the edit because another user changed the record." > > Finally, my program can't work. > If I use TDBGrid, I can find that I Insert a new record and post it, then the record will dispel. > > Regards, > Richard Yang >
Re: After Inserted, can't update the record
От:
"Tibor Laszlo" <ltibor@mail.tiszanet.hu>
Дата:
> Please Help me. I use 7.1.3 and odbc version 07.01.0009 . > Use Borland C++ Builder 5.0 through BDE And it have the > strange action. First, I insert a new record and post it . > After that, I modify the record, post it again. > Then, the BDE give me a error message "Couldn't perform > the edit because another user changed the record." > > Finally, my program can't work. > If I use TDBGrid, I can find that I Insert a new record > and post it, then the record will dispel. Could you show us the target table? (CREATE TABLE... etc). Tibor Laszlo ltibor@mail.tiszanet.hu