FIX: You receive the "Function argument value, type, or count is invalid" error message when you have program code that uses the SELECT-SQL statement in Visual FoxPro for Windows 5.0 and in Visual FoxPro for Windows 6.0 (221650)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q221650 SYMPTOMSYou have program code that uses the SELECT-SQL statement. The SELECT-SQL uses the LIKE syntax to evaluate the result of a function. If the LIKE value is compared to an indexed field, you receive the following error message when the SELECT-SQL command is run:
Function argument value, type, or count is invalid.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in Visual Studio 6.0 Service Pack 3.
For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base: 194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why
194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed
Modification Type: | Major | Last Reviewed: | 3/10/2005 |
---|
Keywords: | kbBug kbfix kbSQLProg kbVS600sp3fix KB221650 |
---|
|