Print Invoice from Form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
One method is to add this line prior to opening your report:
DoCmd.RunCommand acCmdSaveRecord
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top