Error 2427 - Unable to debug

E

EdAROC

Access 2007.
Report runs OK standalone.
Error occurs when run via a form.
Code in the form:
DoCmd.OpenReport "rptSCHCards", acViewPreview

Code where error occurs:
GroupHeader1.BackColor = Me.txtBackColor

Note - If I remove the above statement then another statement, where a
report object (i.e. Me.) - is referenced will trigger the 2427 error.
 
Top