Jump to content

Printing Portals


marcc01

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

Recommended Posts

  • Newbies

I have 2 files, the main file with a portal to the data file....from the main file i only want to print the data specific to the record im currently in....so lets say Record 1 has 5 lines and if im in record one, i want to print that 5 lines of data, but when i look at the data file more data is there since i have more than 1 record on my main file...any help would be greatly appreciated

Link to comment
Share on other sites

Marc,

What kind of stuff do you smoke there... laugh.gif

marcc01 said:

When printing a portal how do i set up a script from my main file, not the file from which the portal data is, to print the data that is in the record in currently in....

Here's a script called "PrintPortal"

GoToLayout (where the Portal is)

Show All Records

Omit

Show Omitted

Show Message "DO NOT PRINT PORTAL YOU FOOL" grin.gif

(That was some time I was looking for this querry, guys....)

does that make any sense....

It make sense you want to print related records from the data you're currently browsing, but you should (*must*) print the records in the related file, using a List Layout for example.

You'd be using your relationship to the related file with a script along the lines of

GoToRelatedRecord [YourRelationship-show only-]

PerformExternalScript [GoToListLayout]

Where the External script would just be

GoToLayout ["ListToPrint"]

Refresh Window.

Link to comment
Share on other sites

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