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

SQL2000 的錯誤

答題得分者是:hagar
yamapig
一般會員


發表:12
回覆:47
積分:21
註冊:2002-03-26

發送簡訊給我
#1 引用回覆 回覆 發表時間:2002-09-06 08:49:57 IP:211.22.xxx.xxx 未訂閱
請教各位,"Name not unique in this context" 這個錯誤訊息是什麼意思? OS : W2000 DB : SQL2000 我是使用Delphi4 BDE 在下大量的Insert 敘述時攔截DB 的訊息所產生的? 謝謝! 靜中見真境 淡中識本然
------
靜中見真境 淡中識本然
鈴鐺
初階會員


發表:33
回覆:81
積分:35
註冊:2002-03-13

發送簡訊給我
#2 引用回覆 回覆 發表時間:2002-09-09 20:01:56 IP:211.21.xxx.xxx 未訂閱
你 insert 的資料是否和 unique index 規範有衝突?
yamapig
一般會員


發表:12
回覆:47
積分:21
註冊:2002-03-26

發送簡訊給我
#3 引用回覆 回覆 發表時間:2002-09-10 01:41:43 IP:218.164.xxx.xxx 未訂閱
引言: 你 insert 的資料是否和 unique index 規範有衝突?
unique index 是它的Key 值嗎? 若是重覆應會出現Key 重覆才對啊! 靜中見真境 淡中識本然
------
靜中見真境 淡中識本然
hagar
版主


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

發送簡訊給我
#4 引用回覆 回覆 發表時間:2002-09-10 07:38:55 IP:211.22.xxx.xxx 未訂閱
這錯誤訊息是說已經在 Form 上已經相同的 Name 的 Component(Field 或其它)了 參考 Bolrnad 的解釋: A possible explanation for 'Name not Unique in this context' errors - by Borland Developer Support Staff Abstract:The error, 'Name is not unique in this context' means there's already a component (field or otherwise) on the form with the same name. Problem: My app was working fine, when I went to add some fields into one of my tables. When I try to add the fields using the field editor, I get an error message stating 'Name is not unique in this context'. What happened? Solution: The information in this document is relevant to all versions of C Builder and Delphi. The error, 'Name is not unique in this context' means there's already a component (field or otherwise) on the form with the same name. One instance where this error can occur is if you have a form that is descended from another form. If you create the field on the parent form, then try to explicitly add the field to the child form as well, rather than inheriting it, this error can occur.
hagar
版主


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

發送簡訊給我
#5 引用回覆 回覆 發表時間:2002-09-10 07:48:19 IP:211.22.xxx.xxx 未訂閱
或者您的錯誤訊息是: "DAX Error - Name not unique in this context" 那將 TDatabase 元件的 HandleShared 屬性設為 True 參考: http://www.delphi32.com/info_facts/faq/faq_126.asp
yamapig
一般會員


發表:12
回覆:47
積分:21
註冊:2002-03-26

發送簡訊給我
#6 引用回覆 回覆 發表時間:2002-09-11 00:07:11 IP:218.164.xxx.xxx 未訂閱
引言: 或者您的錯誤訊息是: "DAX Error - Name not unique in this context" 那將 TDatabase 元件的 HandleShared 屬性設為 True 參考: http://www.delphi32.com/info_facts/faq/faq_126.asp
謝謝!我會試試看的! 靜中見真境 淡中識本然
------
靜中見真境 淡中識本然
系統時間:2024-05-05 16:31:32
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!