The information in this article applies to:
SYMPTOMSWhen attempting to create a variable length index tag in Visual FoxPro version 5.0, one of the following error messages may occur:
-or- This behavior does not occur in earlier versions of FoxPro. According to the Visual FoxPro online Help, variable length index keys are not supported in Visual FoxPro. As stated in the Help file: If you attempt to build an index with a key that varies in length, the key will be padded with spaces. Variable-length index keys aren't supported in Visual FoxPro.In the case of Visual FoxPro 5.0, it appears that any variable length key is not being padded. RESOLUTIONThe following code creates an index tag from a variable length key but is padded to a specific length:
STATUSMicrosoft is researching this behavior and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONSteps to Reproduce BehaviorThe following code illustrates the problem with creating a variable length index tag:
The first INDEX ON line causes the error message,
The second INDEX ON line causes the error message, This behavior does not occur in earlier versions of FoxPro and the indexes are created without error. Additional query words: previous kbvfp500
Keywords : kbVFp FxprgTable |
Last Reviewed: February 3, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |