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

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
 
D

Duane Hookom

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

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top