Printing problem

jpsajc

New Member
Joined
May 4, 2009
Messages
18
How to print a single record from a microsoft acess form into a report
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
How to print a single record from a microsoft acess form into a report

What you need to do is create a macro to open the report, but in the macro there is condtions, what you would do here is set the condition to look at the record on the form (Like ID Field) then match that to the ID field from the table where the source comes from then you will only see a single record when you click the macro button
 
Upvote 0
if you want to print information for the current record you are on:

DoCmd.OpenReport "ReportName", acPreview, , "<conditions>"

WHERE
<conditions> is something like -->
"RecordID =" & me.RecordID
where RecordID is the fieldname of your primary key -- if this is not numeric, you will have to delimit it
 
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,521
Members
449,088
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top