Article ID: 318435 - Last Review: February 1, 2007 - Revision: 2.2 HOW TO: Use DHTML to Add Wildcards to a Database Query in FrontPage 2002This article was previously published under Q318435 On This PageSUMMARY Use this step-by-step guide to add wildcard characters to a
database search form by using Dynamic HTML (DHTML). The example in this article
uses a Like query and DHTML to create a better verion of the built-in Contains query. NOTE: This article uses custom DHTML that may not be available in all browsers. For more information about compatibility with other browsers, click Microsoft FrontPage Help on the Help menu, type compatibility in the Office Assistant or the Answer Wizard, and then click Search to view the topic. NOTE: You may receive an error message if you copy the examples directly from this article and paste them into FrontPage. The angle brackets (< and >) may appear as escaped HTML code (< and >). To work around this behavior, paste the script into a blank Notepad document, and then copy it from Notepad before you paste it into FrontPage. Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. Step 1 - Prepare to Use the ASP Features in FrontPageBefore you can use the ASP features in FrontPage, install the components listed in the following Microsoft Knowledge Base article:318287
(http://support.microsoft.com/kb/318287/EN-US/
)
FP: What You Need to Use Active Server Pages (ASP) in FrontPage 2002
Step 2 - Create a Database Results Page
Step 3 - Add DHTML to the Page
Step 4 - Test the Page
REFERENCESFor
additional information about errors that can appear when working with the
Database Results Region, click the article numbers below to view the articles
in the Microsoft Knowledge Base: 265320
(http://support.microsoft.com/kb/265320/EN-US/
)
FP2000: Error Message When You Query the Database
299911
(http://support.microsoft.com/kb/299911/EN-US/
)
FP2002: Error Message Appears in Database Results Region When Browsing Page
287147
(http://support.microsoft.com/kb/287147/EN-US/
)
FP: Error Message: "Database Results Error" When You Update a Database Record
317931
(http://support.microsoft.com/kb/317931/EN-US/
)
FP: Error 0x80040E14 When Using a Database 'Contains' Query
| Article Translations
|
Back to the top
