Share this Page URL

Chapter 8. Adding Features and Function ... > Turning a Control On and Off - Pg. 296

Adding Features and Function to Forms 296 In the following steps, we'll use the After Update event of the View Expenses By option group to control when the Expense Categories and Campaigns list boxes are available. Set a control's Enabled property 1. 2. 3. If the ExpenseViews form isn't open, select it in the Database window, and then click Design. Switch the form to Design view if it's open in Form view. Right-click a border of the option group labeled View Expenses By, and then click Properties. On the Event tab, click in the After Update event property box, and then click the Build button. Click Code Builder, and then click OK. The Visual Basic Editor opens, and you're presented with the beginnings of an After Update event procedure, as shown here: