mtagliaferri
Registered User.
- Local time
- Today, 05:47
- Joined
- Jul 16, 2006
- Messages
- 519
I need to create a report from a form, this form have some filter buttons, therefore I need to print what is actually shown on the screen, how can achieve this?
my filter code is
which will display only those records which have the resigned box empty.
the print code is:
Thanks
my filter code is
Code:
Private Sub CmdViewActive_Click()
DoCmd.BrowseTo acForm, "frmCrewMemberList", "", "[Resigned] = False", "", 1
End Sub
the print code is:
Code:
Private Sub cmdPrint_Click()
DoCmd.OpenReport "rptCrewMemberList", acViewPreview, "", "", acNormal
DoCmd.RunCommand acCmdPrint
End Sub