Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / January 2006

Tip: Looking for answers? Try searching our database.

Print Invoice from Form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Roger Bell - 22 Jan 2006 04:17 GMT
I have created a Control to Print the current record as an Invoice.  This
works fine, but when a new record is added and you go direct to Print
Invoice, The details are missing and I suspect this is because the new record
has not been saved.
Is there a way you can write some code into the "On Click" event procedure
so that the new record will save when you click the Print Invoice control?
Thanks for any help
Duane Hookom - 22 Jan 2006 05:04 GMT
One method is to add this line prior to opening your report:
  DoCmd.RunCommand acCmdSaveRecord

Signature

Duane Hookom
MS Access MVP
--

>I have created a Control to Print the current record as an Invoice.  This
> works fine, but when a new record is added and you go direct to Print
[quoted text clipped - 4 lines]
> so that the new record will save when you click the Print Invoice control?
> Thanks for any help
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.