Hello,
In my form I added the fields Parente and Nom_parent . But when Form_Current Private Sub () occurs it makes me an error message on Me.parent.visible (.visible in yellow color). Note that the field is in text format, but even removing Nz (... he always tells me the same error. Thank you for your help.
Habiler.
In my form I added the fields Parente and Nom_parent . But when Form_Current Private Sub () occurs it makes me an error message on Me.parent.visible (.visible in yellow color). Note that the field is in text format, but even removing Nz (... he always tells me the same error. Thank you for your help.
Habiler.
Code:
Private Sub Form_Current()
Me.N°.Visible = Nz(Me.DecisionY_N, 0)
Me.datedec.Visible = Nz(Me.DecisionY_N, 0)
Me.Descrip.Visible = Nz(Me.DecisionY_N, 0)
Me.abstype.Visible = Nz(Me.DecisionY_N, 0)
Me.Doc.Visible = Nz(Me.DecisionY_N, 0)
Me.DecId.Visible = Nz(Me.DecisionY_N, 0)
Me.debut.Visible = Nz(Me.DecisionY_N, 0)
Me.fin.Visible = Nz(Me.DecisionY_N, 0)
Me.Parente.Visible = Nz(Me.DecisionY_N, 0)
Me.Nom_parent.Visible = Nz(Me.DecisionY_N, 0)
Me.DecId = Me.ID
Me.abstype = Me.Typedoc
End Sub