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
#38717 - 03/06/12 01:10 PM Problem with combined conditions
wojciechm Offline
OL User

Registered: 10/14/11
Posts: 75
Hi,
How do I express this correctly in PP talk?
=(&Condition2) and "does not equal to" (&Condition22)
Thanks in advance

Top
#38719 - 03/06/12 01:35 PM Re: Problem with combined conditions [Re: wojciechm]
Philippe F. Offline
OL Expert

Registered: 09/06/00
Posts: 1984
Loc: Objectif Lune, Montreal, Qc
Code:
=(&Condition2 xor &Condition22)


This guarantees that both values are different.
_________________________
Technical Product Manager
I don't want to achieve immortality through my work; I want to achieve immortality through not dying - Woody Allen

Top
#38726 - 03/06/12 02:41 PM Re: Problem with combined conditions [Re: Philippe F.]
Pages
Unregistered


Hi,

Another way could be the following approach :

in the Condition of the basic attribute, type in :

=&Condition2 and not(&Condition22)

That way the condition only returns true IF and only IF, condition2 is true AND condition22 is false.

Hope this helps.
Regards,

Top
#38727 - 03/06/12 02:56 PM Re: Problem with combined conditions [Re: ]
Philippe F. Offline
OL Expert

Registered: 09/06/00
Posts: 1984
Loc: Objectif Lune, Montreal, Qc
Mine is more flexible... laugh
_________________________
Technical Product Manager
I don't want to achieve immortality through my work; I want to achieve immortality through not dying - Woody Allen

Top
#38728 - 03/06/12 03:07 PM Re: Problem with combined conditions [Re: Philippe F.]
wojciechm Offline
OL User

Registered: 10/14/11
Posts: 75
Thank you both I'll try both see what works better over time.

Top