smichaels1234
Registered User.
- Local time
- Today, 18:41
- Joined
- May 12, 2008
- Messages
- 64
I have a field called Warranty. The criteria specifies this:
IIf([Forms]![frm_FieldServiceLog].[cboWarranty]=Yes,"Y",IIf([Forms]![frm_FieldServiceLog].[cboWarranty]=No,"N"))
What I am trying to do here is I have a combo box that I am specifying Yes or a No value. Within the database field (Warranty) it's specified as Y and N. I can get the code to bring up the only Yes but and never No. What am I doing wrong?
IIf([Forms]![frm_FieldServiceLog].[cboWarranty]=Yes,"Y",IIf([Forms]![frm_FieldServiceLog].[cboWarranty]=No,"N"))
What I am trying to do here is I have a combo box that I am specifying Yes or a No value. Within the database field (Warranty) it's specified as Y and N. I can get the code to bring up the only Yes but and never No. What am I doing wrong?