出现以下英文提示是什么问题?(200分)

C

coolfun

Unregistered / Unconfirmed
GUEST, unregistred user!
我后台用SQL SERVER 2000

前台DELPHI

采用BDE连接

在数据输入过程中出现以下提示:
Invalid BLOB handle in record buffer
 
把 database 中的BLOBS TO CACHE 和BLOB SIZE 的参数调大点就没事 了


"Invalid BLOb handle" error: What is the cause and how do I fix this error?

If the error occurs on a non-live (dead, canned) query or a
table with no indexes, then increasing the new BDE 4.x
configuration parameter 'BLOBS TO CACHE' will fix the problem.
This setting determines how many BLObs will be cached on the client.
Applications that deal with fetching dead BLObs using dead table opens or
queries can set a limit on the number of BLObs to cache depending on the
resource available on the client. Setting a value 00 means the application
can work with a maximum of 00 BLOb records cached. Fetching more than 00,
then scrolling back 00 records results in an "Invalid BLOb handle in record
buffer" error message. NOTE:This parameter does not apply to live table opens.
Default Value: 64 Range: 64 to 65536

-----
http://www.8421.org
 
要把BLOBS TO CACHE改大些,请认真看BLOBS TO CACHE的帮助。特别是如下这段:
Setting a value 100 means the application can work with a maximum
of 100 BLOB records cached. Fetching more than 100, then scrolling
back 100 records results in an "Invalid Blob handle in record buffer"
error message.

BLOBS TO CACHE的默认值是64,那么就是说包含blob字段的query or table的记录数
不能超过64条记录,所以你要么改大BLOBS TO CACHE的值,最大可达65535,要吗提取的
记录数(cache)不能太多。
还有记录数太多的话要相应改大BLOB SIZE的值, 默认是32K,一个文件8K的话,那么只能
cache 4条记录,最大可为1000K。所以cache的记录数不能太多。
 
我怎么看不到啊???

我看不到!!!

请会的同志到如下聊天室来:210.29.193.120/chat

我在聊天室等,昵称:谢烟客!!
 
这是一个错误的Blob句柄在内存中显示;
你可以试着在数据库中输入同样的数据看有无这类提示!
 
如果要调整Blob尺寸,可以像下面这样做,但这是解决Invalid Blob Size问题的直接方法,
你的这个错我没有遇到过。
双击你窗体上(或数据模块中)的TDatabase控件,出现属性编辑对话框,填好Database Name
和选好Alias属性,点击Defaults对话框,该数据库别名的默认值就会被导入到Parameter
Overrides的文本框内,修改了其中的“BLOBS TO CACHE”和“BLOB SIZE”两个值,确定即可。
 
在bde administrator中改该bde的blob size大小
 
问题差不多解决了,修改BLOB CACHE的值是正确的。但在数据输入过程中,又遇到这样一个
问题,就是数据多了之后速度狂慢,有什么好的方法解决速度问题的吗?

 
我剛剛也遇到一個這樣的問題, 不過我修改bde參數都沒有效果,請問各位大俠還有什麼
原因會引起這樣的問題? (我用FireBird做後台)
 
如果前台是D6的话,访问mssql2000,请改用ADOexpress,BDE改ADO VERY EASY,在性能等方面提高好多
 
多人接受答案了。
 
顶部