Assigning an InitValue property
Another property we can define for several of the Radio Show fields is InitValue. WDTU has a standard policy that news, sports, and weather be broadcast for a few minutes each at the beginning of every hour in the day. We want the Boolean (Yes/No) fields for News Required, Sports Required, and Weather Required to default to Yes. We also want the default time value of the News Duration, Sports Duration, and Weather Duration to be 2 minutes, 2 minutes, and 1 minute, respectively. That way the first 5 minutes of every hour can be spent on keeping the listeners informed of the latest happenings.
Setting the default for a field to a specific value simply requires setting the InitValue property to the desired value. In the case of the "Required" Boolean fields, that value is set to Yes
. Using the Table Designer, we must Design the Radio Station table, and access the Properties screen for the News Required field. Repeat this for the Sports Required...