IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#57989 - 05/11/21 10:51 AM Store a record from one page to use on other pages
dazzaman Offline
OL Newbie

Registered: 01/27/10
Posts: 27
Loc: Basingstoke
Hi, I think this should be easy but I can't seem to think my way round it. In our invoice data we have a couple of pages at the front which aren't printed. Date starts on page 3.

One page contains a line that we'd like to read in the design, store and use on other pages.

So an example we only want to read a line on page 2 that might contain "01" or "02" etc in a certain position eg; =@(5,7,10). How can I store this and then use it on other pages of data.

Thanks

Top
#57994 - 05/11/21 02:51 PM Re: Store a record from one page to use on other pages [Re: dazzaman]
Philippe F. Offline
OL Expert

Registered: 09/06/00
Posts: 1984
Loc: Objectif Lune, Montreal, Qc
On each of the pages of your form, set the following condition:
Code:
   =&current.datapage>2

This will ensure that no page gets printed for data pages 1 and 2.

To store a reusable value found on page 1, create a metadata field named MyValue and set its level to Document. Then, set its value to the appropriate data selection and the condition for that value to:
Code:
   =&current.datapage=1


Then you can use that metadata field value anywhere in subsequent pages by using a custom data selection set to:
Code:
  =GetMeta('MyValue[0]', 0, 'Job.Group.Document')
_________________________
Technical Product Manager
I don't want to achieve immortality through my work; I want to achieve immortality through not dying - Woody Allen

Top
#57995 - 05/11/21 04:44 PM Re: Store a record from one page to use on other pages [Re: dazzaman]
dazzaman Offline
OL Newbie

Registered: 01/27/10
Posts: 27
Loc: Basingstoke
Brilliant, I might be back but thank you for this.

Top