All, I have been trying to figure this out. I have a textbox in the page footer with this as the control source:
=Sum(IIf([vehicle description]="" Like "*" & "sand" & "*""",1,0))
What I want it to do is search all of the vehicle description fields (its bound text box is in the detail) and give me the total count of vehicles with sand in their description. Access accepts the code above, but I get 0 as a result. I know that there are exactly 3 vehicles with sand in their description. Any ideas?
=Sum(IIf([vehicle description]="" Like "*" & "sand" & "*""",1,0))
What I want it to do is search all of the vehicle description fields (its bound text box is in the detail) and give me the total count of vehicles with sand in their description. Access accepts the code above, but I get 0 as a result. I know that there are exactly 3 vehicles with sand in their description. Any ideas?