nickthompson
Registered User.
- Local time
- Today, 17:16
- Joined
- Sep 13, 2010
- Messages
- 18
Hi all
I have a report that is triggered from a form. Due to a very strange issue where Access doesn't right-align text properly when printing using my print driver (but right-aligns just fine on another printer), I've come up with a hack which moves a control so it does line up.
The code is in the detail_format event. That works fine when I preview the report by opening it from the navigation bar. But when I open it from code using this the code just doesn't run:
DoCmd.OpenReport Forms!frmBadges!comReport.Value, acViewNormal, , "PersonID=" & Me!PersonID
Rapid printing is key to my app, so while it might sound petty I really need to get this fixed! Any help much appreciated.
-- Addendum: I have tried using the same code in the Detail_Print, Detail_Paint, Report_Load and Report_Page events, with no luck!
Nick
I have a report that is triggered from a form. Due to a very strange issue where Access doesn't right-align text properly when printing using my print driver (but right-aligns just fine on another printer), I've come up with a hack which moves a control so it does line up.
The code is in the detail_format event. That works fine when I preview the report by opening it from the navigation bar. But when I open it from code using this the code just doesn't run:
DoCmd.OpenReport Forms!frmBadges!comReport.Value, acViewNormal, , "PersonID=" & Me!PersonID
Rapid printing is key to my app, so while it might sound petty I really need to get this fixed! Any help much appreciated.
-- Addendum: I have tried using the same code in the Detail_Print, Detail_Paint, Report_Load and Report_Page events, with no luck!
Nick
Last edited: