Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Hello all,

Before i used to browse through my database full of invoices, and click on the button print to print a specific record I wanted. But now, for some reason I have to input the page range I want to print, otherwise it will print the one i input the previous record. I cannot figure it out, any help would be greatly appreciated... Many thanks :)

Posted

What does your Print script look like and what are the settings for your Print Setup/Print steps?

Posted

I just use the script used on the script

given on "sort/find/print"-on the scriptmaker. I think is something like-

print[]

Print Setup set to:

Print-records being browsed

Pages: from:__(eg32) to:__(eg32)

Number of copies: 1

I am also using a networked printer

.... hope this help smile.gif

Posted

Have you tried setting it to print Current Record instead of Records Being Browsed? You shouldn't need to worry about the page range.

Posted

Once you change the settings, open the script, close it, and select Replace next to the Print Setup option.

Posted

Once you change the settings, open the script, close it, and select Replace next to the Print Setup option.

I don't quite get that frown.gif... i don't see any "replace"....

confused.gifconfused.gifconfused.gif

Posted

When you close a script after it's already been created (by clicking OK not Cancel), if you have any import, export, sort, print, or find steps in your script, you will be prompted to Keep the saved options or Replace them with the most recently performed options.

Posted

I don't have steps on the print script... All i did was specify the button to print from the script menu. (Plain and simple script- didn't create any scripting smile.gif)

Posted

Oh, then each time you call it, it will use the most recently performed Print settings for that file. I would never print this way on Windows, since Print settings are only saved with Print Setup. I would print the way you want it to, then create a script with Print Setup [Restore, No dialog] and Print [ ], and attach it to the button.

Posted

I created the setup, but i still have to input the page I want instead of just clicking ok on the print window... see the attatched jpg image... hope this is a better explanation smile.gif

new-3.jpg

Posted

Well, if you have it set to print Current Record, then the Print Range will be ignored anyway. If you want to print more than one record, you will have to use Records Being Browsed and then enter the Print Range. And if the range changes each time, then you will have to manually enter it each time. And just in case you weren't aware, the Current Record is the record selected in Browse Mode, not the page that you might be on in Preview Mode. If you are on the fifth record, and you enter Preview Mode, it will show the first record as the first page, but the fifth record is the one that will actually be printed.

Posted

Not unless you want to save the found set's ids in a global, put the ids for the records you want to print in another global, create relationships from both globals to the id field and use Go to Related Record [show only related, "second_global_relationship"] to find only those you want to print, Print [ ], and Go to Related Record [show only related, "first_global_relationship"] to restore your original found set.

This requires a layout that contains only the id field, and a layout to contain the the first global, using a script to Set Field [secondglobal; secondglobal & id & "

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