January 02, 2008, 05:06 AM
Majid JeddiWebFocus 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
January 02, 2008, 08:59 AM
GamPMajid,
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.
January 02, 2008, 10:33 AM
Majid JeddiHi 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