Hiding Detail Section

G

Guest

I am trying to hide or show the complete detail section of a report based on
a msgbox routine in the Open procedure for the Report:

Private Sub Report_Open(Cancel As Integer)

If MsgBox("See detail section?", vbYesNoCancel) = yes Then
Me.Section(acDetail).Visible = True
Else
Me.Section(acDetail).Visible = False
End If

End Sub

No joy... any suggestions?

Many thanks
 

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


Top