Link to home
Start Free TrialLog in
Avatar of SteveL13
SteveL13Flag for United States of America

asked on

Hide #Error on form

I have a calculated field on a form using:

=DMax("[HBA1CChecked]","Treatment","[MemberID] = " & [Forms]![frmMemberMaster]![txtMemberID])

But I get #Error when there is no record to DMax.

How can I hide the #Error  ??
ASKER CERTIFIED SOLUTION
Avatar of PatHartman
PatHartman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SteveL13

ASKER

Getting "wrong number of arguments" ??
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I added to the expert solution and it worked.