Jump to content
Salesforce and other SMB Solutions are coming soon. ×

How to print all tabs - 1 layout


dmontano

Recommended Posts

I have a 8.5 x 11 layout that has three scripted print buttons that allow:

1. Print current record

2. Print Found Set

3. Print all Records

 

I just discovered two things:

 

1. I have more content that I want to put on this one "layout"; and

2. I have found the tab control feature.

 

My dilemma is this:

If I create a 3 tab "Tab Control" that allows me to fit in what I need, I do not know if it is possible to script a button that will print all of the content of the 3 tabs. I doesn't seem like this is possible and I can kinda see why.

 

The only solution I have come up with is:

Duplicate each of the three tabs' contents to another layout that is laid out one after the other over say, 2 or 3 pages. Then create a scripted button on the original "Tab Control" layout that allows the "print all content layout" to be printed?

 

Before I plunge head first in this design - I was hoping to get some ideas and suggestions.

 

Thanks,

David

Link to comment
Share on other sites

Is your desired output paper or PDF? For paper you can do this:

 

Print Setup [restore, no dialog]

Go to Object ["Activate Tab one"]

Print [no dialog]

Go to Object ["Activate Tab two"]

Print [no dialog]

Go to Object ["Activate Tab three"]

Print [no dialog]

 

 

The three objects are named objects that are in the tab-specific area of the layout; when the script obeys the instruction to Go to Object, it makes that tab the active tab as a consequence.

 

If you're printing to PDF, though, this would output three different PDFs.

Link to comment
Share on other sites

With FM 9 you could append the new PDF to the old one, but I see you have 8.5.

 

With either solution, you still get one page for each tab, though. If you want to save trees, perhaps you'd be better off with a separate print layout (with the added advantage that you can optimize it for printing).

Link to comment
Share on other sites

AHunter and LingoJango - thanks for your help.

 

I like the script that allows printing the tabs as separate pages. For my particular case, I wanted to make sure that all content was printed when someone executed the print command. I could forsee the complaints that users are tired of having to manually trigger the tab window and hit print three times (in the example I gave) to have a printed copy of all content.

 

This certainly throws another possiblity into what I am trying to do. I can also see the advantage of creating the print layout as well. I like to append to PDF option as well. More toys for me to get bogged down with trying to figure out how they work and then how to implement them usefully.

 

Really appreciate the help,

David

Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

Terms of Use