Import to txt, disappears spaces.

Stimulsoft Reports.NET discussion
Post Reply
lucas.ortolan
Posts: 24
Joined: Fri Dec 18, 2015 11:55 am

Import to txt, disappears spaces.

Post by lucas.ortolan »

Hello,

To export it to TXT "10400000 2264774820001690001666090003710000000000100000000000000MATRIZ - BASE MODELO CAIXA ECONOMICA FEDERAL 11501201617544200000105000000 EMP 1.01 REM 0000001 " last disappears spaces.

Mrt attachment.
Attachments
Teste.mrt
(5.79 KiB) Downloaded 343 times
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Re: Import to txt, disappears spaces.

Post by Ivan »

Hello,

Please try to set the following static option:

Code: Select all

StiOptions.Export.Text.TrimTrailingSpaces = false;
Thank you.
lucas.ortolan
Posts: 24
Joined: Fri Dec 18, 2015 11:55 am

Re: Import to txt, disappears spaces.

Post by lucas.ortolan »

Hi,

Where do I put the code ?

Ty,
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Import to txt, disappears spaces.

Post by HighAley »

Hello.

It depends on how you use our product.
If you have your own application place this code before initialization of our components.
If you use Stand-alone Designer, you could set this option in the BeginRender event of the report.

Thank you.
lucas.ortolan
Posts: 24
Joined: Fri Dec 18, 2015 11:55 am

Re: Import to txt, disappears spaces.

Post by lucas.ortolan »

Hi,

I tried to put on "before printing" but gave error, please could send a MRT with the code?

Ty,
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Import to txt, disappears spaces.

Post by HighAley »

Hello.

Please, check the attached report template.

Thank you.
Attachments
Teste.mrt
(5.87 KiB) Downloaded 240 times
lucas.ortolan
Posts: 24
Joined: Fri Dec 18, 2015 11:55 am

Re: Import to txt, disappears spaces.

Post by lucas.ortolan »

Hi,

Friend, happened this error ..
Error.png
Error.png (35.37 KiB) Viewed 3619 times

Ty..
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Import to txt, disappears spaces.

Post by HighAley »

Hello, Lucas.

Could you specify what version of our product do you use?

Thank you.
lucas.ortolan
Posts: 24
Joined: Fri Dec 18, 2015 11:55 am

Re: Import to txt, disappears spaces.

Post by lucas.ortolan »

Hello,
Versao.jpg
Versao.jpg (226.82 KiB) Viewed 3615 times

Ty,
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Import to txt, disappears spaces.

Post by HighAley »

Hello, Lucas.

There was no such option in this build.
Please, upgrade to our latest build.

Thank you.
Post Reply