The information in this article applies to:
SUMMARY
To create an index on combined Date and Character type fields, you must
break the Date type field into separate year, month, and day components;
use the STR() function to connect the date pieces in the correct order; and
then add the Character type field to the date string.
INDEX ON STR(YEAR(idate))+STR(MONTH(idate))+STR(DAY(idate))+cno TO "date_cno.idx"NOTE: The third example above applies ONLY to FoxPro versions 2.0 and later (including FoxPro for Macintosh), not to FoxBASE+. REFERENCES
"Microsoft FoxBASE+ Commands & Functions," page 4-22 Additional query words: VFoxWin FoxWin FoxDos FoxMac 2.01 index cross- platform
Keywords : FxprgGeneral |
Last Reviewed: February 2, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |