請問各位高手 |
|
p121188888
一般會員 發表:1 回覆:1 積分:0 註冊:2002-04-15 發送簡訊給我 |
|
lee
站長 發表:55 回覆:173 積分:45 註冊:2002-02-27 發送簡訊給我 |
|
hagar
版主 發表:143 回覆:4056 積分:4445 註冊:2002-04-14 發送簡訊給我 |
不知您的錯誤訊息是否為:
"The specified row could not be located for updating. Some values may have been changed since it was last read"
或:
"找不到要更新的資料列,最後讀取的值已被改變。"
如果是的話, 以是小弟在 Delphi About 網站找到的一小段文章
給您參考一下:
I'm using AutoNumber for Primary Key field to make every record
unique. If I want to read or Edit some ADOTable record after one
was appended (and Post-ed) I get en error: "The specified row
could not be located for updating. Some values may have been
changed since it was last read". Why?
After every new record you should use:
var bok: TBookmarkStr;
begin
bok := adotable1.Bookmark;
adotable1.Requery();
adotable1.Bookmark:=bok;
end;
|
p121188888
一般會員 發表:1 回覆:1 積分:0 註冊:2002-04-15 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |