- Peter Klopfer
- PowerBuilder
- Monday, 20 July 2020 01:20 PM UTC
Hi,
we are saving the contents of a multi-column grid datawindow using saveAsFormattedText:
dw.saveAsFormattedText (
ls_file
, EncodingANSI!
, "~t" /*sep*/
, ''" /*quote*/
, "~r~n" /*lineending*/
, false /*retainnewlinechar*/
)
There will always be an additional empty column, i.e. each line will end by "~t~r~n".
This is no big issue with text files or export to excel, but with some more specific applications such as R.
Besides, this problem has been bothering us for many years and several different PB versions.
Any hints?
Regards,
Peter
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.