about TDBImage problem with TDatabase/TQuery |
尚未結案
|
patrickz
一般會員 發表:6 回覆:4 積分:2 註冊:2003-07-22 發送簡訊給我 |
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 發送簡訊給我 |
|
patrickz
一般會員 發表:6 回覆:4 積分:2 註冊:2003-07-22 發送簡訊給我 |
|
hagar
版主 發表:143 回覆:4056 積分:4445 註冊:2002-04-14 發送簡訊給我 |
|
patrickz
一般會員 發表:6 回覆:4 積分:2 註冊:2003-07-22 發送簡訊給我 |
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 發送簡訊給我 |
|
patrickz
一般會員 發表:6 回覆:4 積分:2 註冊:2003-07-22 發送簡訊給我 |
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....(:-)
|
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |