A
Afrosheen via AccessMonster.com
Good morning, and thanks for reading this.
I have a main form with a subform on it.What I'm trying to do is to pass a
string {strHeader} from the main form to a label on the subform. This is the
code I have.
strHeader = "Delete Staff"
Forms!SubFrmFind!Label6.Caption = strHeader
I keep getting an error when I try to access the subform. It says that Access
can't find the form SubFrmFind referred to in macro or vb code.
I put a msgbox strHeader on the subform and it displays it when both form
load.
Your help is appreciated.
I'm using Access 2003
I have a main form with a subform on it.What I'm trying to do is to pass a
string {strHeader} from the main form to a label on the subform. This is the
code I have.
strHeader = "Delete Staff"
Forms!SubFrmFind!Label6.Caption = strHeader
I keep getting an error when I try to access the subform. It says that Access
can't find the form SubFrmFind referred to in macro or vb code.
I put a msgbox strHeader on the subform and it displays it when both form
load.
Your help is appreciated.
I'm using Access 2003