Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Me.parent (Forms)

Status
Not open for further replies.
Mar 31, 2003
22
EU
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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top