BUG: KEYMATCH() Returns Inconsistent Results or Error MsgLast reviewed: February 16, 1996Article ID: Q117568 |
The information in this article applies to:
SYMPTOMSThe KEYMATCH() function returns different results, depending on the order of the commands issued.
STATUSMicrosoft has confirmed this to be a problem in FoxPro 2.6 for Windows and FoxPro 2.6 for MS-DOS. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Problem
Note that the second and third issuances of the same command return a .F. (FALSE) value instead of the "Invalid function argument, type, or count" error message. If you put the KEYMATCH() commands in the following order
? KEYMATCH('A1234','PEOPLE') && Invalid function argument.... ? KEYMATCH('A1234','PEOPLE',2) && .F. ? KEYMATCH('A1234','PEOPLE',1) && .T. ? KEYMATCH('A1234','PEOPLE') && .T. instead of "Invalid..." ? KEYMATCH('Mickey','PEOPLE',2) && .T. ? KEYMATCH('A1234','PEOPLE') && .F. instead of "Invalid..."the first ? KEYMATCH('A1234','PEOPLE') command returns the "Invalid function argument, type, or count" error message, the second issuance of the same command returns .T. (TRUE), and the third issuance of the same command returns .F. (FALSE).
|
Additional reference words: FoxDos FoxWin 2.60 errmsg err msg buglist2.60
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |