yes/no report help

N

nirie1

I have created a database that has a yes/no checkbox. I want the
checkbox to only show in the report when there is a yes value. I need
the checkbox for the form so I dont want to get rid of it.

If for some reason I have to change the checkbox to a text box will the
data be deleted?

I am not really good at access. I am self taught. I can do stuff when
told how to. I have no vba exeperince.
 
D

Damon Heron

in the detail section properties of the report, select format, and paste
this code, substituting your names

Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me.Checkbox1.Visible = (Me.Checkbox1 = True)
End Sub

HTH
Damon
 
M

Marshall Barton

nirie1 said:
I have created a database that has a yes/no checkbox. I want the
checkbox to only show in the report when there is a yes value. I need
the checkbox for the form so I dont want to get rid of it.

If for some reason I have to change the checkbox to a text box will the
data be deleted?

I am not really good at access. I am self taught. I can do stuff when
told how to. I have no vba exeperince.


Please don't post the same querstion multiple times. I
tried to answer this in another thread.
 

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