請問錯誤訊息"index is read only" |
尚未結案
|
answer
一般會員 發表:17 回覆:10 積分:5 註冊:2004-05-14 發送簡訊給我 |
|
allenchan
資深會員 發表:10 回覆:306 積分:283 註冊:2004-01-06 發送簡訊給我 |
參考一下這一篇:
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
|
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |