PRB: INDEX ON produces 'File is read-only' Error with CursorLast reviewed: August 21, 1996Article ID: Q129920 |
The information in this article applies to:
SYMPTOMSWhen attempting to create an INDEX for a read-only cursor, you receive this error:
File is read-only RESOLUTIONSpecify an .IDX file for the tags to be added to. For example, issue the following commands to create the two tags without yielding the error message:
USE tutorial\customer SELECT * FROM customer WHERE state = 'CA' INTO CURSOR test INDEX ON zip+city TAG zip_city OF tutorial\testzip.idxBecause you can have only one IDX file assoicated with a cursor open at a time, you need to recreate the new index as needed with these commands:
SET ORDER TO INDEX ON cno+company TO c:\fpw26\test2.idx STATUSThis behavior is by design.
|
Additional reference words: FoxWin FoxMac 2.60a 3.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |