To resolve this issue, use a default value for database
fields that use a numeric data type. Determine the fields that use either the
Number data type or the
AutoNumber data type,
and then specify default values for the numeric data types that are used by the
Database Results region on the page. To do so, follow these
steps:
- Identify the fields that use the Number
data type or the AutoNumber data type. To do so, follow these
steps:
- Start FrontPage, and then open your Web
site.
- On the View menu, click
Folders.
- Under Folder List, double-click the
Fpdb folder, and then double-click the Access 2003 database
file (.mdb) that you are using with your query.
- In Access 2003, click the table or the query that is
the source of data for the search form, and then click Design.
Make a note of the names of the fields that use the
Number data type or the AutoNumber data type.
- Close the .mdb file, and then quit Access 2003.
- Specify a default value for the numeric data types. To do
so, follow these steps:
- Open the Web page that contains the Database
Results region.
- Right-click the Database Results
region on the page, and then click Database Results
Properties.
The Database Results Wizard starts. - Click Next, and then click
Next.
- Click More Options.
- In the More Options dialog box, click
Defaults.
- Click a field that uses the Number
data type or the AutoNumber data type, and then click
Edit.
- In the Value box, type a default
numeric value, and then click OK. For example, type
0 (zero).
- Repeat steps 2f and 2g for each field that uses the
Number data type or the AutoNumber data type.
- Click OK, and then click
OK.
- Click Next, click
Next, and then click Finish.
- On the File menu, click
Save.
- On the File menu, click
Preview in Browser.