mibuso.com

Microsoft Business Solutions online community
It is currently Sat Nov 01, 2014 9:09 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: [Solved] CR+LF issue
PostPosted: Wed Feb 01, 2012 12:03 pm 
Offline

Joined: Mon Sep 26, 2011 8:40 am
Posts: 55
Location: Nijmegen
Country: Netherlands (nl)
Hi all,

On a classic report I collect a field of several records and seperate them with a CR+LF construction so that the fields can be put in a variable which I print on the report.

This works like a charm on my Windows 7 machine and on the Windows Small Business Server 2011 of our client. When I run the report on de client machines (Windows XP, however I'm not completely sure and not able to check at the moment) the report also prints the fields like I expect it to do, but at the end of every row it prints a square like this █ , but "blank" on the inside.

I've read that difference in architecture can cause problems when you run documents on different OS'es like Windows, Linux or Mac OS. But what causes the squares? And, more important, how do I fix this?

Thanks.


Last edited by Ploeg on Wed Feb 22, 2012 1:48 pm, edited 2 times in total.

Top
 Profile E-mail  
 
 Post subject: Re: CR+LF issue
PostPosted: Wed Feb 01, 2012 12:46 pm 
Offline

Joined: Sat Jan 28, 2012 3:48 pm
Posts: 56
Country: Netherlands (nl)
Hi,

I don't know what causes the squares, if you are using Char [13] And Char [10], but I'd recommend to use an array or temporary rec printing on an Integer dataitem.

Regards


Top
 Profile  
 
 Post subject: Re: CR+LF issue
PostPosted: Wed Feb 01, 2012 2:36 pm 
Offline

Joined: Tue Jun 21, 2011 12:39 pm
Posts: 571
Country: Netherlands (nl)
How do you collect them? use ansiTOascii?


Top
 Profile E-mail  
 
 Post subject: Re: CR+LF issue
PostPosted: Mon Feb 06, 2012 11:04 am 
Offline

Joined: Mon Sep 26, 2011 8:40 am
Posts: 55
Location: Nijmegen
Country: Netherlands (nl)
I'll go for the array solution. ANSII vs ASCII is evil..! ](*,)


Top
 Profile E-mail  
 
 Post subject: Re: CR+LF issue
PostPosted: Wed Feb 22, 2012 1:46 pm 
Offline

Joined: Mon Sep 26, 2011 8:40 am
Posts: 55
Location: Nijmegen
Country: Netherlands (nl)
I still haven't found a solution for the squares. But using an array work fine in this case.

Case closed.
Bye \:D/


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: