subsubform reference

sonny

Registered User.
Local time
Today, 12:50
Joined
Mar 2, 2004
Messages
140
Having trouble hiding a subSubform and referencing the controls on the subSubform....
Red certainly isnt correct...

Code:
If Form_frmOne.frmTwo.Form.NewRecord Then
Forms!frmOne![frmTwo]![frmThree].Visible = False
[COLOR=Red]Forms!frmOne![frmTwo]![frmThree]![MyFormLabel].Visible = False[/COLOR]
Else
Forms!frmOne![frmTwo]![frmThree].Visible = True
[COLOR=Red]Forms!frmOne![frmTwo]![frmThree]![MyFormLabel].Visible = True[/COLOR]
End If
End If

If [COLOR=Red]Forms!frmOne![frmTwo]![frmThree]![MyControl].Value = -1 Then
Forms!frmOne![frmTwo]![frmThree]![MyOthercontrol].Visible = True
Else
Forms!frmOne![frmTwo]![frmThree]![MyOthercontrol].Visible = False
End If[/COLOR]
 
Last edited:
Yeah, I looked at that one and this link:

http://www.mvps.org/access/forms/frm0031.htm

I'm just struggling with it. I copied and pasted every version from the examples and changed the form names to match mine and still no luck...
 

Users who are viewing this thread

Back
Top Bottom