yes/no report help

  • Thread starter Thread starter nirie1
  • Start date Start date
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.
 
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
 
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

Similar Threads

make field invisable 4
Report checkbox 2
Creating Checkbox Fields For Every Record 0
Yes/No in a combobox wierdness 8
Checkbox border on report 3
Yes/No control box 1
Dynamic field 1
Yes/No 1

Back
Top