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
#19963 - 08/29/06 01:03 PM Advanced Page Conditions.
aoneil Offline
OL Guru

Registered: 08/11/06
Posts: 108
Hello. I am writing an advanced page condition that looks in a specific place in the file, say line 157 column 1. I want the page to print only if it has data in that field. I have this as my condition:

=(@(157,1,1) = ' ')

I know that the space isn't correct. I am not sure how to write it to look for data in that field. I am looking through the language reference and can't find anything.

Any help would be appreciated. Thank you!

Top
#19964 - 08/29/06 01:14 PM Re: Advanced Page Conditions.
Anonymous
Unregistered


Try this condition:
Code:
 ne(trim(@(157,1,1)),'') 
this condition will be true if there is a printable character at line 157 position 1

Top
#19965 - 08/29/06 01:15 PM Re: Advanced Page Conditions.
Anonymous
Unregistered


Hello,

Here what I suggest

Right after you type your equal sign, right click and pick "data selection".

That way you won't have to worry about the syntax.
As for between the quote, you may or not need any spaces between them. If the selection were empty, no space but if there is spaces that would be necessary.
Keep me inform.

Top
#19966 - 08/29/06 02:02 PM Re: Advanced Page Conditions.
aoneil Offline
OL Guru

Registered: 08/11/06
Posts: 108

Top
#19967 - 08/29/06 02:53 PM Re: Advanced Page Conditions.
aoneil Offline
OL Guru

Registered: 08/11/06
Posts: 108
Hello. Thank so much for your help! I tried this condition:
ne(trim(@(157,1,1)),'')
and it gave me an error.

Top
#19968 - 08/29/06 03:00 PM Re: Advanced Page Conditions.
Anonymous
Unregistered


Hello,

I may not have your data, but I did apply this one under the basic attributes of my page where it says: "Condition" and it worked.

=trim(@(1,1,13))<>''

Give it a try!

Top
#19969 - 08/29/06 03:38 PM Re: Advanced Page Conditions.
aoneil Offline
OL Guru

Registered: 08/11/06
Posts: 108
Thank you! Thank you! Thank you! It worked like a charm. =)

Top


Moderator:  cosimo, OL Newsgroup Support