Others

Disable Microsoft Access Form Fields Until a Checkbox Is Selected

Natalie TaylorNatalie Taylor Nov 18, 2026 868 views

Question details

The user wants selected Access form fields disabled until a checkbox is selected, with separate buttons for creating and saving records.

Disable Access Form Fields Until a Checkbox Is Selected
Product
Microsoft Access 2013 and Microsoft Access for Microsoft 365
Device & OS
not provided
Scenario
A data-entry form contains a checkbox and fields such as Class Name, Class ID, and Instructor.
Observed behavior
The fields should be unavailable when the checkbox is cleared and available when it is selected. The form should also provide New and Save actions.
Before you start

Open the data-entry form in Design View and check the actual names of the checkbox and field controls in the Property Sheet. Replace the example control names in the following steps with those used on your form.

Solution 1Recommended

Use Conditional Formatting to Disable the Fields

Apply a rule to each field so it is disabled while the checkbox is unchecked.

1
Select a field

In the Navigation Pane, right-click the form and choose Design View. Select the Class Name control.

2
Create a formatting rule

On the Format tab, select Conditional Formatting, then choose New Rule. Select the option to check values in the current record or use an expression, and choose Expression Is.

3
Disable the control

Enter Nz([CheckBoxName], False) = False, replacing CheckBoxName with the checkbox control name. Toggle the Enabled option in the rule's formatting controls so that the field is disabled when the expression is true, then select OK.

4
Apply the rule to other fields

Repeat the rule for the Class ID and Instructor controls. Switch to Form View and test the form with the checkbox both cleared and selected.

Use Conditional Formatting to Disable the Fields
Scope of the rule: Conditional formatting controls access through the form; it does not prevent changes to the underlying data by other forms, queries, or code.
Free Microsoft Office alternative

Work With Office Documents in WPS Office

WPS Office is a free, lightweight alternative for everyday documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format support make it easy to move existing files. It does not replace Microsoft Access forms or edit Access database files.

Open and edit Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTXUse familiar document and spreadsheet tools for related data-entry workKeep everyday office tools together in a lightweight suiteMove existing compatible Office files into a familiar workspace
microsoft office alternative - wps office

Frequently Asked Questions

What if the checkbox has no value yet?

Use Nz([CheckBoxName], False) = False in the conditional formatting expression. This treats a Null checkbox value as unchecked.

Where can I find the checkbox's control name?

Open the form in Design View, select the checkbox, and open the Property Sheet. Check the Name property on the Other or All tab.

Does the New button save the current record?

Access normally saves the current record when the New button moves to a new record. If required fields or validation rules are not satisfied, Access can stop the move and display a message.

Why does the Save button use Me.Dirty = False?

In a form's VBA module, setting Me.Dirty to False tells Access to save the current edited record. The error handler can display a message if validation or another error prevents saving.

Can WPS Office modify my Access form?

No. Use Microsoft Access to edit Access database forms and their VBA. WPS Office can work with compatible Word, Excel, and PowerPoint files used alongside the database.