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
#20788 - 10/16/07 12:31 PM Dynamic Image Condition
John Price Offline
OL Expert

Registered: 10/07/03
Posts: 164
Loc: Wigan, UK
I have several thousand PDF images relating to various job descriptions within an organisation.

The images follow a simple naming convention such as A001-1, A001-2, A002-1.

The data flow only contains the A001 refrence to the image and I have no idea how many images I will need to call, all I know is that there will be no more than 6 pages in a set.

The document has a front page letter and then the following pages refrence the letters from A001-1, A001-2 .... until A001-6.

If the image is not present a blank page is printed, as expected. I would however like to supress blanks if the image does not exist.

Is there anyway to create a condition to suppress the page if the image does not exist or someother method of skipping the page?

Thanks

Top
#20789 - 11/16/07 05:50 AM Re: Dynamic Image Condition
Chris_10 Offline
OL Guru

Registered: 06/24/04
Posts: 126
Loc: London, England
Have a look at the resourcetype() function. We use this. I think you should be able to add a condition to the pages to check that e.g.

=resourcetype(@(1,1,4) + '-1')<>0

0 meaning not found (obviously replace @(1,1,4) with the position of e.g. A001 in your data.

Top


Moderator:  cosimo, OL Newsgroup Support