I have not made any changes to the form and suddenly I started getting this error message "compile error: automation error" and the highlighted code is "frm as form" in the phrase "dim frm as form" in the on open event...I later tried going into a different form and got the same error (compile...auto...) and the highlighted code is "Function EnableControls(frm As Form, intSection As Integer, intState As Boolean) As Boolean" from a module.
Is the problem the sharing of the frm variable???
I have the same form (first form) in a different database and it opens and functions fine.
Does anybody know exactly what this error means? I've tried searching for it but can't figure out what the underlying problem is. Thanks for help in advance!
Is the problem the sharing of the frm variable???
I have the same form (first form) in a different database and it opens and functions fine.
Does anybody know exactly what this error means? I've tried searching for it but can't figure out what the underlying problem is. Thanks for help in advance!