[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 317
  • Last Modified:

new line character in PB

I found new line character in PB datawindow is '~n~r' but it produces two small squares for me instead of printing in next line ?
Any idea ??


Tq
M
0
mahalakshmi_s
Asked:
mahalakshmi_s
  • 2
  • 2
2 Solutions
 
Jaime OlivaresSoftware ArchitectCommented:
try with '~r~n'
0
 
Ralf KlattPrincipal ConsultantCommented:
Hi,

It's probably depending if you're using PB the 'java' or "any other" way ... '~n~r' might apporpriate in one way "~n~r" the other way ...


Best regards,
Raisor
0
 
Jaime OlivaresSoftware ArchitectCommented:
> It's probably depending if you're using PB the 'java' or "any other" way
Why do you mention Java? It is a PowerBuilder question.

> '~n~r' might apporpriate in one way "~n~r" the other way ...
What is the difference between  '~n~r' and  '~n~r' ?
0
 
Ralf KlattPrincipal ConsultantCommented:
Hi,

As far as my knowledge goes ... which is unfortunately not as far as I'd like it to be ;-)) ... there's some difference in the appropriate syntax ...

... '~n~r' and "~n~r" seems to be quite a difference to me ... if I'm wrong I'll surely learn from mahalakshmi_s question!


Best regards,
Raisor
0
 
mahalakshmi_sAuthor Commented:
I got the solution. I have to set the comp fld properties to AUTOSIZE HEIGHT on. Then it prints in the next line.
Thanks everybody.
M
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now