Document Header Properties dialog box – Parameters tab

Develop > Database > Document Properties – Parameters tab

This tab is used to view, add, remove, or modify the parameters used by the current database-enabled document.

This tab lists the parameters used by the current document. Parameters are sent to the Web server whenever a site visitor viewing a database-enabled document clicks a button to submit a form or clicks a link to view more records.

Normally, you should not have to modify the parameter list. However, if you inserted a hyperlinked output field into a document that you created using the Database Wizard, and the target of the hyperlink is also a document that you created using the Database Wizard, then you must add a parameter to the target document whose name is the same as the parameter name you entered in the Output Field (Hyperlink) Properties dialog box and whose data type is the same as the data type of the hyperlinked output field.

Name

Shows the name of each database-related parameter used by the document. You can rename a parameter that you added after double-clicking the name.

Data Type

Shows the data type of each parameter. You can change the data type of a parameter that you added by double-clicking the data type and selecting a new one from the drop-down menu.

Do not change the data type of any parameter that was automatically generated by the Database Wizard (those of type Field or Document).

Argument Type

Shows the argument type of each parameter. There are three argument types: Field, Document, and User. The first two types are generated by the Database Wizard. The User type is for parameters that you add. The argument type cannot be changed.

Input method

Shows the method used to send the parameter to the Web server. There are two methods: GET and POST. If the current document contains an input or modification block, the parameters that were generated by the Database Wizard use the input method you specified in the Select Input Method step of the wizard. If necessary, you can change the input method by double-clicking the method and selecting GET or POST in the drop-down menu.

Add button

Click to add a parameter. A new parameter will appear in the list, with “<New Arg>” as the name. Type the name you want to use and press <Enter>. Then select the data type and input method.

Remove button

Click to remove a parameter that you added, if you no longer need it. Parameters that were generated by the Database Wizard cannot be removed.

Document Header Properties dialog box – Parameters tab