show and hide text from one Report by 2 buttons

saman

Registered User.
Local time
Today, 15:17
Joined
Dec 30, 2006
Messages
32
In one Report must print from text into Dtail and Page (or Reprot)Footer by click on Button-1 and the next print must from Detail only by click on Button-2

i used code below on button-1 but...
Code:
Dim stDocName As String
    Dim stvi As String
    stDocName = "Report1"
  stvi = Report_Report1.Section(ReportFooter).Visible = False
  DoCmd.OpenReport stDocName, acPreview, , stvi
How can Print from multi section one Report by 2 or more buttons?
thank you
 

Attachments

Users who are viewing this thread

Back
Top Bottom