FP2000: Using Parameter Query for Database Results Region Generates Error Message (265342)
The information in this article applies to:
This article was previously published under Q265342 SYMPTOMS
When you import a Microsoft Access 2000 database into your Microsoft FrontPage 2000 web, create a database results region and publish it to your server, and then browse the Web page that you imported the database into, you may receive an error message similar to the following:
Database Results Error
Description: The application has improperly defined a Parameter object.
Number: 3708 (0xE7C)
Source: ADODB.Recordset
CAUSE
This behavior can occur if you attempt to use a parameter query as the record source for a database results region.
RESOLUTION
To resolve this issue, re-create the query in FrontPage. To create a query in FrontPage, follow these steps:
- Start FrontPage.
- On the File menu, click Open Web.
- Browse to find the web that you want, and then click Open.
- On the File menu, point to New, and then click Page.
- Click Normal Page, and then click OK.
- On the Insert menu, point to Database, and then click Results.
- Click the connection that you want (for example, click Use a sample database connection (Northwind)), and then click Next.
- Click Record source, select the table that you want as the record source (for example, Employees), and then click Next.
- Click Edit List.
- Press CTRL and select the fields that you do not want to be displayed (for example, Title).
- Click Remove, and then click OK.
- Click More Options.
- Click Criteria, and then click Add.
- In the Field Name box, select the field that you want to query on (for example, Address).
- In the Comparison box, select a comparison (for example, Contains).
- Click to select the Use search from field check box (if necessary).
- Click OK twice to return to the More Options dialog box.
- Click Defaults, and then click Edit.
- Type ? in the Value box.
- Click OK three times to return to the Database Results Wizard dialog box.
- Click Next twice, and then click Finish.
- On the File menu, click Save As.
- In the Save as type box, click Active Server Pages (*.asp).
- Name the file, and then click Save.
- On the File menu, click Publish Web.
- Specify the location that you want, and then click Publish.
- Browse to the new page, type a value into the text box, and then click Submit.
Modification Type: | Major | Last Reviewed: | 12/2/2000 |
---|
Keywords: | kbprb KB265342 |
---|
|