REGGIE MAGER Posted January 5, 2009 Posted January 5, 2009 I have the follwing script I use to print envelopes from my invoice table: Go to Layout ["Customer Invelpes" (Orders)] Show All Records Omit Record Show Omitted only Print [Restore; No dialog] This works fine from my invoice table. When I try to print an envelope from my Customers table it only prints the envelope that is the current record in invoices. How can I set this up so that it prints the record that I am viewing from my customers table? Thank you for the help.
bcooney Posted January 5, 2009 Posted January 5, 2009 Your envelope is based on an Order table occurrence. I would change the envelope layout to print from a Customer table occurrence. The script for the Print Envelope button on the Order would: (pseudo-code) Go to Related Record Order_Customer in New Window using Layout CustEnvelope, match current record only. Print Current Record Close Window Then the script from Customers form view would be: New Window Go to Layout CustEnvelope Print Current Record (this is important) Close Window See, you can use the same layout for both buttons.
Recommended Posts
This topic is 5802 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now