Getting an error when form opens
Posted on 2016-07-21
I am getting an error when trying to open a form and populate a date field using the following code in the onopen event of the form:
Me.txtDateChecked = DMax("[DateChecked]", "[Treatment]", "[MemberID] = " & Forms!frmMemberTreatments!txtMemberID.Value & " ")
What am I doing wrong?