線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:3018
推到 Plurk!
推到 Facebook!

Invalid BLOB handle in record buffer

尚未結案
mygod
一般會員


發表:52
回覆:64
積分:23
註冊:2002-09-10

發送簡訊給我
#1 引用回覆 回覆 發表時間:2002-10-02 01:21:47 IP:61.59.xxx.xxx 未訂閱
Invalid BLOB handle in record buffer 請問這是什麼意思...完全看不懂 oh~mygod
------
oh~mygod
hagar
版主


發表:143
回覆:4056
積分:4445
註冊:2002-04-14

發送簡訊給我
#2 引用回覆 回覆 發表時間:2002-10-02 07:37:44 IP:211.22.xxx.xxx 未訂閱
參考底下這個問答 Q: Why am I getting the error 'Invalid BLOB Handle in record Buffer' when I attempt to modify a record containing a BLOB? A: This error can occur for two different reasons. Case 1 - BDE API Application This error is caused by not setting up the record correctly. Make certain to call DbiInitRecord on the record buffer before reading the record from the table. CASE 2 - Any BDE Application This error occurs when scrolling through more than 64 blobs in the results of a dead query. The solution is to either make the results of the query a live result set, or somehow limitscrolling blobs. (Such as having your SELECT statement select fewer records.) NOTE:A future release of the BDE is planned to be able to be configured to get past the present hard coded limit. 另外參考 http://www.delphi32.com/magazine/articles/6/bde_ora.asp 這 有問 BLOBS TO CACHE 這段的說明。 最後, 除了錯誤訊息外 說明一下您是在什麼情況下發生的 也是解決問題的重要參考。 -- Everything I say is a lie.
ccchen
版主


發表:61
回覆:940
積分:1394
註冊:2002-04-15

發送簡訊給我
#3 引用回覆 回覆 發表時間:2002-10-02 08:08:59 IP:61.219.xxx.xxx 未訂閱
你在SQL Explorer中設定Alias時可以看到一欄"BLOBS TO CACHE", 預設值為64,代表最多可有64個BLOB. 因此當你OPEN一個含BLOB欄位之DataSet時, 若超過64筆資料, open時問題,只要指標移動一超過第64筆, 問題就出來了 解決方法: 1: 改BLOBS to CHCHE加大到滿足需求(最好不要如此) 2: open DataSet時不要含入BLOB field, 提供Button在click時才讀取 3: 用calculate field, 在onCalculate時讀取
系統時間:2024-05-07 22:08:33
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!