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
#43405 - 05/09/13 11:43 AM Help with Advance Condition
wojciechm Offline
OL User

Registered: 10/14/11
Posts: 75
Hi,

I'm trying to set a condition on the document that will be true if a number in one location will = the number in another location and I'm not sure how to phrase it. it would have to be something like if(strtoint(@11,115,117)) = (strtoint(@14,115,117)) just to make sure I'm comparing number not a text string. Any help greatly appreciated. Thanks

Top
#43407 - 05/09/13 11:54 AM Re: Help with Advance Condition [Re: wojciechm]
wojciechm Offline
OL User

Registered: 10/14/11
Posts: 75
Seems like

=@(17,115,117) = @(14,115,117)

works without converting to integer. If anyone wants to add something please do. THanks

Top
#43408 - 05/09/13 12:24 PM Re: Help with Advance Condition [Re: wojciechm]
wojciechm Offline
OL User

Registered: 10/14/11
Posts: 75
ok what i tried in the long run actually didn't work with only the condition above frown now I'm stuck frown ok so what I'm trying to do is this i have 15 lines of data on a page in a spool file as follows

data 001
data 001
data 002
data 003
data 003
Data 003
data 004
data 005
Data 005
data 005
Data 006
data 007
data 007
data 007
Data 007


Now the number at the end of each line changes with out a pattern so it can change every other line, every two lines, three lines and so on or totally randomly like in the sample i wrote out above. Now in the form on the design i need to color each line after the change (the letter C will represent this below) so like this:

data 001 C
data 001 C
data 002
data 003 C
data 003 C
Data 003 C
data 004
data 005 C
Data 005 C
data 005 C
Data 006
data 006
data 006
data 006
Data 007 C


Now I created the box objects with color to shade under each line of data, and I don't know how to condition it so it actually works. I tried with the condition that one line = previous line (there 3 actual lines of break between each data line that is to be considered, that's why the number in the condition I wrote before varied by 3)but this would not color the first line right after the change and would start on the second line of each number repetition. Anyone thinks they can help me? Thanks a lot in advance

Top
#43409 - 05/09/13 12:56 PM Re: Help with Advance Condition [Re: wojciechm]
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
wojciechm,

Your condition that you've posted in your second post seems like it should work, so the problem may be in the way you've created your boxes. We'd have to see your form to provide accurate advices, however, so I suggest that you contact Technical Support, send them your form and have them look at this with you. You may call 1-866-348-5863, or use the web page:

http://www.objectiflune.com/OL/en-CA/Support/ReportIssue/PlanetPressSuite.aspx

Regards,
Raphaël Lalonde Lefebvre

Top