Constants

Use a constant when the retrieval argument is always the same in the particular page you are designing. You specify the value directly on the Retrieval tab of the Sybase Web DataWindow DTC Properties dialog box.

Example

Using a constant This example has a single page called emplist.htm in the Massachusetts section of your site. The DataWindow object has a retrieval argument called state, which allows you to use the same DataWindow object on other pages that list employees by state.

On the Retrieval page of the Sybase Web DataWindow DTC Properties dialog box, you can type MA as a constant value for the state retrieval argument.

The sample shows the Retrieval page of the Sybase Web DataWindow DTC Properties dialog box. At top is a selected check box for Automatic Retrieval, then a display labeled Retrieval Arguments with columns for Argument Name, Bind Type, and Bind Value and one sample entry that reads state, Constant, and M A.