尋問 ADO基本指令 |
尚未結案
|
pshengkang
一般會員 ![]() ![]() 發表:4 回覆:1 積分:1 註冊:2002-05-17 發送簡訊給我 |
您好
我開始學習delphi 在用ADO 時出現了一個訊息
(只有在delphi run時才會有,而執行exe檔就沒有)
但執行起了資料沒有問題 Project project1.exe raised exception class EVariantTypeCaseError
with message 'Could not conver variant of type (Null) into type
(String)'. Process stopped. Use Step or Run to countinue. 程式大至如下:
ADOConnection1.Provider='MSDASQL.1;Persist Security Info=False;Data
Source=dBASE Files;Mode=ReadWrite'
ADOConnection1.DefaultDatabase :=GetCurrentDir;
ADOTable1.TableName := 'Print.DBF';
ADOTable1.Active :=False;
ADOTable1.Active :=True;
...... Print.DBF 資料都有數字
請問這是那裡出了問題
|
huwk
資深會員 ![]() ![]() ![]() ![]() ![]() 發表:26 回覆:340 積分:323 註冊:2002-04-03 發送簡訊給我 |
|
pshengkang
一般會員 ![]() ![]() 發表:4 回覆:1 積分:1 註冊:2002-05-17 發送簡訊給我 |
|
lesae
一般會員 ![]() ![]() 發表:1 回覆:11 積分:17 註冊:2003-07-24 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |