Having trouble hiding a subSubform and referencing the controls on the subSubform....
Red certainly isnt correct...
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: