January 5, 200917 yr 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.
January 5, 200917 yr 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.
Create an account or sign in to comment