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

View current record to print in Preview mode???


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

Recommended Posts

Posted

I have an INVOICE database and when I want to print hte invoice i am viewing - i go through a script that takes it into PREVIEw mode - i know that if I "PRINT CURRENT RECORD" it will print hte one I am viewing, but is there any way to make it that when it goes into preview mode, it shows me the invoice i am working with, and not to the first record in the database?

ANy help would be appreciated!

thanks

Posted

Make a self relationship InvoiceID = ???:InvoiceID. Then use a Go to related record (Show) in your script. This will isolate the current record and when you go into preview mode it will be the only record.

Posted

For FM7 users I put together a small file that preserves the found set and then displays the current record in the preview mode without the copy all records.

Posted

I have revised the sample file. I made it much more complex than it needs to be in the original. Using the go to related record show using a different layout does not change the original, thus the found set is preserved in the original layout. Look at the second script to how simple this is.

This topic is 7162 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.