Focal Point
WebFocus documentation

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1861011462

January 02, 2008, 05:06 AM
Majid Jeddi
WebFocus documentation
Hi,

I am trying to use the PARAG function in one of my reports.
According to the documentation, this function is supposed to create from one field many lines.
I am surprised to see the result on the same line with the separator i have specified.
Is this a bug or I am doing something wrong.

Can you help?

Rgards


WebFocus 7.6.5
AND WebLogic server as web server
sql2005 as database server
January 02, 2008, 08:59 AM
GamP
Majid,
This is not a bug, but it works as intended.
The PARAG routine is used to divide large pieces of text into smaller parts, separated by a separator of your choice. The rsult is as you found, a single field with the original text, now containing your separators. Next you can (should) use GETTOK to actually get the smaller pieces of text one by one from the result of PARAG.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
January 02, 2008, 10:33 AM
Majid Jeddi
Hi Gamp,

Thanks for your reply.
Since the field I am working with is long, I was expecting these functions to split it to many lines and display them one under the other:

Ex: Line =aaaaaaaa,bbbbbbb,cccccc

I was Expecting this:

aaaaaaaa
bbbbbbbb
cccccccc

Note: I am creating the report in MRE.

Thanks


WebFocus 7.6.5
AND WebLogic server as web server
sql2005 as database server