Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5802 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

Posted

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):P

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.