PRB: Help of VFP ODBC Driver Unclear on INDEX ON CommandID: Q163031 The information in this article applies to:
SYMPTOMSThe Visual FoxPro ODBC Driver Help File has conflicting information on the availability of the INDEX ON command.
RESOLUTIONThe INDEX ON command is not supported in the Visual FoxPro ODBC driver. However, it is possible to create regular indexes on existing tables, through the ODBC driver, using the ALTER TABLE command. To do this create a persistent relation to the same table, or another, then break the relationship with the "DROP FOREIGN KEY" clause but use the SAVE clause to preserve the tag.
STATUSThis behavior is by design.
MORE INFORMATIONBring up the Visual FoxPro ODBC Help file by selecting ODBC from the Windows Start menu, and selecting "Visual FoxPro ODBC Driver," or by double- clicking the file Drvvfp.hlp in the Windows\System or Windows\System32 subdirectory. Go to Contents tab, click Technical References, then select "Language Support in Rules, Triggers, Default Values, and Stored Procedures." If you look at this list of commands and functions supported, INDEX is shown. However, if the hot link, located at the top of the page, is taken to the "Unsupported commands and functions," INDEX is listed AGAIN. The INDEX ON command is not supported in the Visual FoxPro ODBC driver.
REFERENCESFor more information about removing Persistent Relationships, please see the following article in the Microsoft Knowledge Base:
For more information about creating Persistent Relationships, please see
the following article in the Microsoft Knowledge Base:
Additional query words:
|
Last Reviewed: November 2, 1998 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |