PRB: Using Wildcards in Filter of Data Form Wizard Created FormLast reviewed: December 11, 1997Article ID: Q175830 |
The information in this article applies to:
SYMPTOMSThe following error occurs when attempting to set filter criteria containing a wild card character at the beginning of the string:
Source: DataForm Error Number: 20001 Description: Wildcard characters * and % can only be used at the end of the criteria CAUSEThe DataForm Wizard produces code that uses the Recordset's Filter property. According to the ActiveX Data Objects (ADO) documentation on the Filter property (From Visual InterDev's InfoView select ADO Reference, ADO Objects, and then Recordset Object), "Only the asterisk (*) and percent sign (%) wild cards are allowed, and they must be the last character in the string."
RESOLUTIONIn order to implement a solution that allows wild card characters at the beginning of filter criteria, you must make major modifications to the code produced by the DataForm Wizard.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior
REFERENCESFor the latest Knowledge Base articles and other support information on Visual InterDev and Active Server Pages, see the following page on the Microsoft Technical Support site:
http://support.microsoft.com/support/vinterdev/ Keywords : VIWizards kberrmsg Technology : kbInetDev Version : WINDOWS:1.0 Platform : WINDOWS Issue type : kbprb |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |