ID: Q117319
2.60 | 2.60
WINDOWS | MS-DOS
kbprg kbdocerr
The information in this article applies to:
The syntax for the KEYMATCH() function is documented differently in the online Help files of FoxPro for Windows and FoxPro for MS-DOS.
The FoxPro for Windows Help file gives the following syntax for the KEYMATCH() function:
KEYMATCH(<index key> [, <expN1> [, <expN2> | <expC>]])
However, the FoxPro for MS-DOS Help file gives the following syntax:
KEYMATCH(<index key> [, <cdx file>] , <expN1> [, <expN2> | <expC>])
The syntax shown in the FoxPro for Windows Help file is correct.
The KEYMATCH() syntax shown in the FoxPro for Windows Help file is similar to the syntax in dBASE IV version 2.0:
KEYMATCH(<index key> [, <expN1> [, <expN2> | <expC>]])
The brackets indicate that you can use any one of the following
?KEYMATCH(<index key>, <expN1>)
-or-
?KEYMATCH(<index key>, <expN1>, <expN2)
-or-
?KEYMATCH(<index key>, <expN1>, <expC>)
where <expN1> is the index tag number, <expN2> is the work area number, and
<expC> is the work area alias.
NOTE: Issuing ?KEYMATCH(<index key>, <expC>) will generate an "Invalid Function Argument" error message because this syntax is incorrect.
Additional reference words: FoxDos FoxWin 2.60 docerr foxhelp.hlp foxhelp.dbf on- line KBCategory: kbprg kbdocerr KBSubcategory: FxinteropDbase
Keywords : FxinteropDbase
Version : 2.60 | 2.60
Platform : MS-DOS WINDOWS
Last Reviewed: February 17, 1996