C
china-gis
Unregistered / Unconfirmed
GUEST, unregistred user!
我在SQL 7中有一数据表:雇员(照片:Image) 用来存放BITMAP 格式的数据;在DELPH5 中用TDBImage 类型控件与这绑定
出现“Bitmap Image is not valid"的错误 而同样的数据在ACCESS 2000中则能够读出雇员的照片;
我想是否 BDE的版本问题于是升级到5.1.1并参照SQLLINK.HLP中的帮助信息“DRIVER FLAGS setting and BLOB handling
If your Microsoft SQL Server faults while executing BLOB reads or BLOB writes, check the SQL Link driver's DRIVER FLAGS parameter. If DRIVER FLAGS is set to 0 (the Microsoft SQL default) set the DRIVER FLAGS parameter to 1. Setting DRIVER FLAGS to 1 will enable you to execute BLOB reads and BLOB writes without causing a server fault. This may cause the client to receive SQL Server timeouts during BLOB writes.
Connecting to Microsoft SQL Server
SQL Links hints, problems, and notes”将 DRIVER FLAGS 设为1;仍然没有解决问题。
请教各位大虾的帮助!!!!
出现“Bitmap Image is not valid"的错误 而同样的数据在ACCESS 2000中则能够读出雇员的照片;
我想是否 BDE的版本问题于是升级到5.1.1并参照SQLLINK.HLP中的帮助信息“DRIVER FLAGS setting and BLOB handling
If your Microsoft SQL Server faults while executing BLOB reads or BLOB writes, check the SQL Link driver's DRIVER FLAGS parameter. If DRIVER FLAGS is set to 0 (the Microsoft SQL default) set the DRIVER FLAGS parameter to 1. Setting DRIVER FLAGS to 1 will enable you to execute BLOB reads and BLOB writes without causing a server fault. This may cause the client to receive SQL Server timeouts during BLOB writes.
Connecting to Microsoft SQL Server
SQL Links hints, problems, and notes”将 DRIVER FLAGS 设为1;仍然没有解决问题。
请教各位大虾的帮助!!!!