If theDept is the variable for the department form list value and theLocation is the
variable for the office radio button value, the SQL statement looks like this:
SELECT * FROM Employees WHERE Department = theDept ;
AND Location = theLocation
Passing form and URL values to a related page
Master-detail Web applications aren??™t the only applications that can benefit from information entered on a
form. Other applications sometimes offer a link to a related page??”such as a special note pertinent only to
a user-specified selection. To implement such pages, the application page needs the same form information
passed to the master page. Dreamweaver includes a Go To Related Page server behavior that delivers the
form values to the linked page; the behavior can also pass URL values by themselves or in conjunction with
values from forms.
740
Incorporating Dynamic Data Part IV
Like other server behaviors in the Go To category, Go To Related Page can be applied to text, images, or
dynamic page elements. In a master page with a Repeat Region, you can attach Go To Related Page to an
element within the repeating region and have it be available for every entry. To attach a Go To Related Page
server behavior, follow these steps:
1. On a page that has had form or URL values passed to it, select the page element??”text, image, or
dynamic data??”to use as the trigger for your behavior.
Pages:
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289