全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:951
推到 Plurk!
推到 Facebook!

請問錯誤訊息"index is read only"

尚未結案
answer
一般會員


發表:17
回覆:10
積分:5
註冊:2004-05-14

發送簡訊給我
#1 引用回覆 回覆 發表時間:2004-12-09 17:04:21 IP:61.64.xxx.xxx 未訂閱
搬到另一台電腦執行 我送資料到資料庫(PARADOX) 出現這樣的訊息 是我INDEX出了什麼問題ㄇ 請各位教一下小弟我
allenchan
資深會員


發表:10
回覆:306
積分:283
註冊:2004-01-06

發送簡訊給我
#2 引用回覆 回覆 發表時間:2004-12-09 17:37:06 IP:203.70.xxx.xxx 未訂閱
參考一下這一篇: http://delphi.ktop.com.tw/topic.php?TOPIC_ID=60328    裡頭提到參考以下這篇文章: http://groups.google.com/groups?hl=zh-TW&lr=&selm=6dkccn%24s40%241%40nnrp1.dejanews.com    內容節錄如下:    This will either help or get you there faster:    Index is read only    Possible Cause of Error You may be attempting to edit a table which has one or more secondary indexes, but this/these secondary indexes are not maintained.    Quick Fix Set the index[es] to "maintained" if you want to edit the records in or insert records into a table. To specify indexes as defined on Paradox tables, follow these steps: 1. Open Database Desktop 2. Open the table you want to work with (File | Open | Table) 3. Select Tools | Utilities | Restructure (or click the Restructure icon) 4. Select Secondary Indexes from the Table Properties drop-down list 5. Select the Define button. The Define Secondary Index dialog will display. 6. Highlight the index you want to set as "maintained" 7. Select the Maintained checkbox in the Index Options section of the dialog 8. Select OK to save your modifications Additional Information If you do not need to ever edit or add to the data in a table (in other words, with a read-only table), you can improve performance by creating indexes that are not maintained. Clay Shannon, author of the upcoming book "Troubleshooting Delphi - Quick Fixes" 發表人 - allenchan 於 2004/12/09 17:42:35
系統時間:2024-05-19 4:17:34
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!