B
Bonnie
Hi everyone! Using A02 on XP. Have a great report with details and would
like to have 2 buttons, one to open it with Details.Visible=No and one to
open it with Details.Visible=Yes.
Here is what I have now:
Private Sub Command7_Click()
On Error GoTo Err_Command7_Click
Dim stDocName As String
stDocName = "FeesGeneratedFromToByAdmRpt"
DoCmd.OpenReport stDocName, acPreview
Exit_Command7_Click:
Exit Sub
Err_Command7_Click:
MsgBox Err.Description
Resume Exit_Command7_Click
End Sub
How/where do I tell it to be Detail.Visible=Yes/No?
Thanks in advance for your time and consideration.
like to have 2 buttons, one to open it with Details.Visible=No and one to
open it with Details.Visible=Yes.
Here is what I have now:
Private Sub Command7_Click()
On Error GoTo Err_Command7_Click
Dim stDocName As String
stDocName = "FeesGeneratedFromToByAdmRpt"
DoCmd.OpenReport stDocName, acPreview
Exit_Command7_Click:
Exit Sub
Err_Command7_Click:
MsgBox Err.Description
Resume Exit_Command7_Click
End Sub
How/where do I tell it to be Detail.Visible=Yes/No?
Thanks in advance for your time and consideration.