R
Rachel
I have an event procedure that is supposed to open a form
when a checkbox is checked.
Private Sub Consent_obtained__Click(frm As frmAllPts)
If Me![Consent obtained?] = -1 Then
DoCmd.OpenForm "frmConsentedPts", , , , , acDialog
End If
End Sub
It used to work. Then I wanted to append (part of) the
record where the click occurred to a new table, so I
created a macro to do so. The macro didn't work. But now
when I check the checkbox, I get an error. "User-defined
type not defined."
How do I fix this? Either the user-defined error or the
entire issue would be helpful. Thanks.
-Rachel
when a checkbox is checked.
Private Sub Consent_obtained__Click(frm As frmAllPts)
If Me![Consent obtained?] = -1 Then
DoCmd.OpenForm "frmConsentedPts", , , , , acDialog
End If
End Sub
It used to work. Then I wanted to append (part of) the
record where the click occurred to a new table, so I
created a macro to do so. The macro didn't work. But now
when I check the checkbox, I get an error. "User-defined
type not defined."
How do I fix this? Either the user-defined error or the
entire issue would be helpful. Thanks.
-Rachel