Hello, could someone tell me what I did wrong here. These statements are a bit tricky with the syntax. It was working once and I forgot to save it and now I can't get it to work again. I'm probably just overlooking something simple. Here is the code.
Thanks!
Code:
=Abs(DSum("ActionIncluded","qlkpDetail","[WeeklyPlanIDFK]=" & [Forms]![frmWeeklyPlans]![txtWeeklyPlanID] & " and [ActionCategoryFK] <> 'Home Medical' and [ActionCategoryFK] <> 'Meals'"))-10
Thanks!