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
#57531 - 06/30/20 05:51 PM How can I skip one line of data
Sami786 Offline
OL Expert

Registered: 01/29/14
Posts: 400
Loc: Home
Hi,
I'm trying to skip one line of data and print every other line.
Example: i'm using (Insert data selection) => repeat line => from line 15 to line 25 => iteration 6. and I want to print
line 15
Line 17
Line 19
Line 21
Line 23
Line 25

How do I print the above lines ?

Thanks
_________________________
Peace

Top
#57533 - 07/01/20 05:37 PM Re: How can I skip one line of data [Re: Sami786]
jim3108 Offline
OL Expert

Registered: 04/19/10
Posts: 316
Loc: London, UK
In your case, the lines you want are odd so you could use modulo.

In your iteration condition, set it as:
Code:
=mod(&current.line, 2) <> 0


Regards,

James.

Top
#57550 - 07/02/20 05:00 PM Re: How can I skip one line of data [Re: Sami786]
Sami786 Offline
OL Expert

Registered: 01/29/14
Posts: 400
Loc: Home
Thank you for the help smile
_________________________
Peace

Top