D
Daniel
Hello,
In a form, I have set it up so that when the user sets the focus on a
specific field it displays certain other fields and then when it loses the
focus it hide those same field. My problem is that although I want to hide
these fields when the user goes elsewhere, I want them to remain visible
should the user select on of them How can I acheive this?
This is the function that is called by the field's lostfocus event:
Function HideForecastComments()
Forms![Drawing Management Frm]![Drawing History Frm
sous-formulaire].Form![Label63].Visible = False
Forms![Drawing Management Frm]![Drawing History Frm
sous-formulaire].Form![Forecast Comments].Visible = False
Forms![Drawing Management Frm]![Drawing History Frm
sous-formulaire].Form![Create New Record].Visible = True
Forms![Drawing Management Frm]![Drawing History Frm
sous-formulaire].Form![Goto record 1].Visible = True
Forms![Drawing Management Frm]![Drawing History Frm
sous-formulaire].Form![Go Back 1].Visible = True
Forms![Drawing Management Frm]![Drawing History Frm
sous-formulaire].Form![Go fwd 1].Visible = True
Forms![Drawing Management Frm]![Drawing History Frm
sous-formulaire].Form![Goto Last].Visible = True
Forms![Drawing Management Frm]![Drawing History Frm
sous-formulaire].Form![RecordCounter].Visible = True
End Function
How can I detect where/what the user clicks? Basically, I would like it to
change the visibility as per the above function except when the user selects
control "Forecast Comments".
Thanks,
Daniel
In a form, I have set it up so that when the user sets the focus on a
specific field it displays certain other fields and then when it loses the
focus it hide those same field. My problem is that although I want to hide
these fields when the user goes elsewhere, I want them to remain visible
should the user select on of them How can I acheive this?
This is the function that is called by the field's lostfocus event:
Function HideForecastComments()
Forms![Drawing Management Frm]![Drawing History Frm
sous-formulaire].Form![Label63].Visible = False
Forms![Drawing Management Frm]![Drawing History Frm
sous-formulaire].Form![Forecast Comments].Visible = False
Forms![Drawing Management Frm]![Drawing History Frm
sous-formulaire].Form![Create New Record].Visible = True
Forms![Drawing Management Frm]![Drawing History Frm
sous-formulaire].Form![Goto record 1].Visible = True
Forms![Drawing Management Frm]![Drawing History Frm
sous-formulaire].Form![Go Back 1].Visible = True
Forms![Drawing Management Frm]![Drawing History Frm
sous-formulaire].Form![Go fwd 1].Visible = True
Forms![Drawing Management Frm]![Drawing History Frm
sous-formulaire].Form![Goto Last].Visible = True
Forms![Drawing Management Frm]![Drawing History Frm
sous-formulaire].Form![RecordCounter].Visible = True
End Function
How can I detect where/what the user clicks? Basically, I would like it to
change the visibility as per the above function except when the user selects
control "Forecast Comments".
Thanks,
Daniel