Preserving line feed character in memo field in an Access Report

In an Access report I include a memo field from our ERP application that contains the line feed character so the memo field should appear like(In a Crystal Report this is how it appears):
                                      CHECK CONDITION OF DIE
                                       CODE 014.4
                                       66#/M
Instead the line feed characters are apparently ignored because the result is:
                     CHECK CONDITION OF DIECODE
                     014.466#M
Is this something that can be corrected ?

Thanks
StampITAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Patrick MatthewsCommented:
Try replacing linefeed with carriage return + linefeed:


UPDATE SomeTable
SET MemoColumn = Replace(MemoColumn, Chr(10), Chr(13) & Chr(10))
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
peter57rCommented:
CR can use Chr(10) on its own for a line feed.

Access requires chr(13) & chr(10).

I suspect the problem lies there and you would need to use a formula field to add the missing character.
0
peter57rCommented:
Sorry not in CR now are we!!!

Use a Replace function in ACcess to replace one char with two.
0
StampITAuthor Commented:
I used the Replace function in the query that is the source for th report. Replaced Chr(10) with the Chr(13) Chr(10) sequence in the memo field. Worked. Thanks.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.