1974maiden
MIS
Hi,
I have some code,
Sub
Dim Parentform as Form, Childform as Form
Set Parentform = Me.Parent
Set Childform = Forms!sfrmChild
If Parentform = Childform
..
..
EndSub
Getting error stating that Forms!sfrmChild is not found and Parentform = Childform (type mismatch). is there something silly i´m doing here.
Thanks, Jimmy
I have some code,
Sub
Dim Parentform as Form, Childform as Form
Set Parentform = Me.Parent
Set Childform = Forms!sfrmChild
If Parentform = Childform
..
..
EndSub
Getting error stating that Forms!sfrmChild is not found and Parentform = Childform (type mismatch). is there something silly i´m doing here.
Thanks, Jimmy