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
#19931 - 08/23/06 02:59 PM Custom Data Selection.
aoneil Offline
OL Guru

Registered: 08/11/06
Posts: 108
Hello.

I was given a sample custom data selection and I am not entirely sure how to read the code:

=' '+trim(@(¤t.line+1,1,80))

Any help would be appreciated. Thanks!! =)

Top
#19932 - 08/23/06 03:00 PM Re: Custom Data Selection.
aoneil Offline
OL Guru

Registered: 08/11/06
Posts: 108
This is what was supposed to show up, after The 2nd parenthesis, it should say:

current.line+1,1,80))

Top
#19933 - 08/24/06 11:37 AM Re: Custom Data Selection.
Anonymous
Unregistered


Hi there, here's how to read the following code:

Quote:
=' '+trim(@(&t.line+1,1,80))
' ' = Adds a space before your data selection
trim = Removes both leading and trailing spaces from a string.
t.line = Integer value containing the line number of the current line of data within the data page, or the number of the current record within the record set.
@ = Returns a selection within the current data page. Syntax: @( line, startcolumn, endcolumn )


Hope this helps,

Thanks, Rina

Top


Moderator:  cosimo, OL Newsgroup Support