invalid reference

  • Thread starter Thread starter HSalim
  • Start date Start date
H

HSalim

Hi.
I have suddenly run into a problem - this was working all along and now,
when I am at a client site, I am getting an invalid reference error for a
control that I am referencing on a subform.

What could be wrong?

The offending line is:
Me!Text17 = Forms![sbfLineItems].Form![ColorHighlight].ForeColor

Any Help would be appreciated.

Regards
HS
 
I think the syntax is wrong.

Forms!MainFormName!SubFormControlName.Form!ControlOnSubForm.ForeColor

I think you have missed out the main form name
 
Back
Top