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

about TDBImage problem with TDatabase/TQuery

尚未結案
patrickz
一般會員


發表:6
回覆:4
積分:2
註冊:2003-07-22

發送簡訊給我
#1 引用回覆 回覆 發表時間:2003-07-22 13:44:46 IP:210.12.xxx.xxx 未訂閱
Hi, I'am using Delphi5 and TDatabase/TQuery component with SQL2000 in BDE. But when you paste image to the TDBImage control and try to save, system always reply : Invalid BLOB Length. The data field in SQL2000 I've set to Image type. Please help me!
hagar
版主


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

發送簡訊給我
#2 引用回覆 回覆 發表時間:2003-07-22 15:11:50 IP:202.39.xxx.xxx 未訂閱
http://delphi.ktop.com.tw/topic.php?TOPIC_ID=20127 http://delphi.ktop.com.tw/topic.php?TOPIC_ID=18997 http://delphi.ktop.com.tw/topic.php?TOPIC_ID=161 --- --<-<-<@
patrickz
一般會員


發表:6
回覆:4
積分:2
註冊:2003-07-22

發送簡訊給我
#3 引用回覆 回覆 發表時間:2003-07-22 16:57:54 IP:210.12.xxx.xxx 未訂閱
I have set BLOB SIZE / BLOBS TO CACHE to 64 both in Database / Congfiguration of BDE, but the problem still display even with a jpg image of 7KB. So BDE could not deal with SQL2000 on image type field with TDBImage field?
hagar
版主


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

發送簡訊給我
#4 引用回覆 回覆 發表時間:2003-07-22 19:17:44 IP:202.39.xxx.xxx 未訂閱
在 TDatabase 元件上點兩下, 再點選 Default 鈕 然後在左邊空白的部份更改 BLOB SIZE / BLOBS TO CACHE 這兩個值試試. --- --<-<-<@
patrickz
一般會員


發表:6
回覆:4
積分:2
註冊:2003-07-22

發送簡訊給我
#5 引用回覆 回覆 發表時間:2003-07-22 21:15:39 IP:61.165.xxx.xxx 未訂閱
I have tried, both in Delphi5 / Delphi6 Environment. But both failed. You could try the project in uploaded zip file. Environemnt: - SQL2000 database with a table of two field: EmpNo char(5) , EMPic Image - BDE object with MSSQL type (could find in Database1 default ...) Could you test why BDE failed on this operation? Thanks http://delphi.ktop.com.tw/loadfile.php?TOPICID=10790688&CC=241332 發表人 - patrickz 於 2003/07/22 21:28:22 發表人 - patrickz 於 2003/07/22 21:31:11
hagar
版主


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

發送簡訊給我
#6 引用回覆 回覆 發表時間:2003-07-23 08:17:57 IP:202.39.xxx.xxx 未訂閱
http://delphi.ktop.com.tw/topic.php?TOPIC_ID=21727 http://delphi.ktop.com.tw/topic.php?TOPIC_ID=29985 --- --<-<-<@
patrickz
一般會員


發表:6
回覆:4
積分:2
註冊:2003-07-22

發送簡訊給我
#7 引用回覆 回覆 發表時間:2003-07-23 13:36:25 IP:210.12.xxx.xxx 未訂閱
I checked the 2 links, both situation are not same as my case. My problem could be checked in my uploaded file. But whatever, from those case study, I tried using ADOConnection then very problem is sloved. Looks like kind of operation could only deal with paradox... but not SQL2000. It's really a regret. Thank you quick response. Later to see I could help others....(:-)
系統時間:2024-06-24 20:10:34
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!