L
Lirva Smith via AccessMonster.com
How can I print a title on a report from a command button on my form? I
have a couple command buttons on my form and depending on which one the
user click on the appropriate report title will show. For example:
Command button: cmdBlkBelts would show "Black Belts" on the report as the
title.
This is what I currently have on the command button:
Private Sub cmdBlkBelts_Click()
DoCmd.OpenReport "rptBeltLevels", acPreview, , "[BlackBelt] = 'Yes'"
End Sub
Thank You!
have a couple command buttons on my form and depending on which one the
user click on the appropriate report title will show. For example:
Command button: cmdBlkBelts would show "Black Belts" on the report as the
title.
This is what I currently have on the command button:
Private Sub cmdBlkBelts_Click()
DoCmd.OpenReport "rptBeltLevels", acPreview, , "[BlackBelt] = 'Yes'"
End Sub
Thank You!