To convert a static checkbox to a
dynamic one, follow these steps:
1. Select a checkbox in a form on a page with a recordset.
2. From the Server Behaviors panel, choose Dynamic Form Elements ??? Dynamic CheckBox. The
Dynamic CheckBox dialog box appears, as shown in Figure 23-11.
Click the Dynamic button in the Property inspector to go straight to this dialog box. TIP TIP
TIP TIP
744
Incorporating Dynamic Data Part IV
FIGURE 23-11
Checkboxes can depict whether a particular field of a record is noted as True in the data
source.
3. Verify that your selected checkbox is correctly named in the CheckBox list.
4. Click the Check If lightning bolt icon to display the available data sources.
5. Choose a field from the Dynamic Data dialog box.
6. If desired, you can apply a server format to the data by choosing an entry in the Format list. Click
OK when you??™re finished to close the Dynamic Data dialog box.
7. Enter the value expected for a selected checkbox in the Equal To field. This value is data-source
dependent. For many data sources, 1 is used to represent true; for others, a -1 is used. When
working with Yes/No fields from Access databases, enter True; be sure to capitalize the letter T;
lowercase true does not work properly.
8. Click OK when you??™re finished.
Pages:
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295