I have a report that is tied to a table. On my table form I have a button that prints the report. Is there a way to only print the report for the current record showing on my form?
I have a report that is tied to a table. On my table form I have a button that prints the report. Is there a way to only print the report for the current record showing on my form?
remember to change the parts that I have that include "NameHere" to the actual names of your objects. So, if you have a report named "Receipts" you would change "YourReportNameHere" to "Receipts" and include the quotation marks.
Make sure you are also doing this code in the VBA window and not in the properties dialog. The event in the control's properties should say [EventProcedure].