Hello all,
I've been spending most of the day setting up a new database in Access and in one of the first forms I'm creating, I'm having an issue.
For some reason, this expression I'm using as a control in a textbox simply will not return anything other than null values.
(For background, I have a number of different types of events in table EventTypes. Each record in the table has an integer for Days. In this instance, when someone selects the title of the event in the combo box above, I want this text box to simply pull the Days value.)
Code:
=Nz(DLookUp("[Days]","[EventTypes]","[Title]='" & [Forms]![New Event]![EventDesired] & "'"),0)
I've tried a number of different ways to pull this info, and it simply returns zero every time. Where am I going wrong? I've been searching for hours and getting nowhere.