FIGURE 21-6
To use a Show Record server behavior, all you do is choose a recordset.
3. From the Recordset list, select the recordset on which to base the Show Record condition.
4. Click OK when you??™re done.
Typically, the Show Region server behaviors are used in pairs. Apply a Show Region If Not First Record
server behavior to a Previous Record link??”it hides the link when the user is on the first record. Similarly,
apply a Show Region If Not Last Record server behavior to the Next Record link to cause the link to disappear
when the last record is called.
Only the first two Show Region server behaviors??”Show Region If Recordset Is Empty and Show Region If
Recordset Is Not Empty??”can be applied to a page without any preconditions. The other four Show Region
server behaviors require that one other type of server behavior be present on the page: the Recordset Paging
server behavior. The Recordset Paging server behaviors act like VCR controls, adding a link that, when
selected, displays the first, last, next, or previous set of records. The Recordset Paging server behaviors are
covered in more detail in the next section.
Handling Record Navigation
So far in this chapter, you??™ve seen how to repeat dynamic data and how to hide and display data and other
page elements programmatically.
Pages:
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227