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

ADOQuery problem

答題得分者是:timhuang
patrickz
一般會員


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

發送簡訊給我
#1 引用回覆 回覆 發表時間:2003-08-03 13:17:42 IP:61.169.xxx.xxx 未訂閱
I have following desgin:    1) ADOConnetion using UDL link to SQL2000  2) A ADOQuery point to above ADOConnection with active= false; 3) I open the ADO Connection 4) I setup SQL select statement to the ADOQuery.SQL 5) Open the ADOQuery and read ok. 6) Then I do ADOQuery.Close and has following error:    
timhuang
尊榮會員


發表:78
回覆:1815
積分:1608
註冊:2002-07-15

發送簡訊給我
#2 引用回覆 回覆 發表時間:2003-08-03 15:04:03 IP:61.62.xxx.xxx 未訂閱
hi, 這是 delphi 5 對 ado 包裝上的一個 bug, 請參考相關的文章, 或直接上 borland 網站找更新檔即可.
patrickz
一般會員


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

發送簡訊給我
#3 引用回覆 回覆 發表時間:2003-08-03 15:06:46 IP:61.165.xxx.xxx 未訂閱
I tried with following condition: 1) empty table. - The above code has the error message in Delphi5. - The above code runs ok in Delphi6 complied code. 2) has at least one record - Both ok in Delphi5 and Delphi6. So question? How to fix in Delphi5? (As I have lot of code exe in a project with delphi5, but transfer to delphi6 is ok but back to delphi5 most form lost... because I do not have all the soucre code of delphi5....)
系統時間:2024-05-19 1:15:00
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!