I have a form on which there are a few command buttons, one of which prints a record. The problem I have is that I would like to limit the number of records printed to ones that the user selects using a Yes/No checkbox. How do I do this? The code I have:
stDocName = “rptSingle_record”
strReportString = Me.frmEditJournalNames.Controls(“select_for_print”) & ” = Yes”
DoCmd.OpenReport stDocName, acPreview, , strReportString
prints all records.
I know this is something that should be simple ….
kiwi44