Quick summary
The IIf function in MS Access lets you apply conditional logic directly inside a form's Control Source property, returning different values based on whether a condition is true or false. This tutorial walks you through adding a Text Box control in Design View and binding it to an IIf expression so your form displays dynamic, condition-driven results.
Steps
- Open a form in Design View.
- Add a Text Box control to the form.
- In the Property Sheet, navigate to the Data section.
- Click on the ellipsis icon next to the Control Source field.
- Set the control's Control Source property to an IIf expression and click OK.
- Save the changes by clicking the save icon.
.gif)



