[SQL not supported:%s]問題 |
尚未結案
|
bebooo
一般會員 發表:8 回覆:11 積分:3 註冊:2002-04-15 發送簡訊給我 |
var
aQuery : TClientDataSet;
Data : OleVariant;
sResult : String;
begin
try
aQuery := TClientDataSet.Create( self );
try.......
.......... 到aQuery := TClientDataSet.Create( self );時會出現SQL not supported:%s,不知是甚麼原因?以前在Delphi5沒問題,換到Delphi6後才發生的,有人遇過嗎?謝謝~
|
hagar
版主 發表:143 回覆:4056 積分:4445 註冊:2002-04-14 發送簡訊給我 |
這裏有一篇:
http://groups.google.com.tw/groups?hl=zh-TW&lr=&ie=UTF-8&oe=UTF-8&th=1fae1c767ebfe2e7&rnum=1
節錄 Bob Swart 的回答:
I've seen this before with "regular" ClientDataSets (i.e. not the
specific SQLClientDataSets). In my case, I could solve it by setting the "ResolveToDataSet" property of the DataSetProvider to True (so it
would resolve the updates to the DataSet itself, without looking for
the remote DBMS).
If you are using a SQLClientDataSet without SQLConnection, then this
is something to try as well (setting ResolveToDataSet to True)... ---
每個人都是一本書
|
bebooo
一般會員 發表:8 回覆:11 積分:3 註冊:2002-04-15 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |