How to display a checkbox depend on the value of another text-fiel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,

Just get a question about display a checkbox in a MS Access report depend on
the value of another text-fields. What I really want is display a checkbox
when value of another text-fields is not empty or is not null. Otherwise,
just hide the checkbox or turn the visible properties of the checkbox to
false.

Someone know how i can solve this problem? Thanks

Best regards,

Pat
 
Add code to the On Format event (module window) of the section containing
the controls.

Me.chkMyCheck.Visible = Len(Trim(Me.txtOtherCtrl & "")) > 0
 
Back
Top