I'm pretty inept at using VBA and I seem to be having some trouble creating a proper expression. I've got a table called goals and an int column in it called idea (goals.idea). This column actually links back to an ideas table but that's probably not really relevant here. I have a form called "Goal Details" that uses the goals table as a record source. In the form I put a checkbox control and called it "Idea". I want the checkbox to be checked if goals.idea is not null and to not be checked if it is null. I tried doing this by writing the following expression in the control source of the checkbox:
IIF(IsNull([goals]![idea]=1),[Me].[Idea].[Value]=0,[Me].[Idea].[Value]=1)
However this always makes the checkbox look like this not matter what is in the goals.idea column:
any help would be appreciated.