Problems getting report to recognise a line feed in text field (1 Viewer)

reglarh

Registered User.
Local time
Today, 04:30
Joined
Feb 10, 2014
Messages
118
I have imported Excel data into an Access table and the text fields come over as short text. One field contains chr(10) to separate two names. An Access report does not respond and the two names are concatenated. If I use MsgBox to display this field it displays correctly on two lines. The format of the field with the report is plaintext and I cannot change this to rich text. I am of of other ideas!
 

theDBguy

I’m here to help
Staff member
Local time
Today, 04:30
Joined
Oct 29, 2018
Messages
21,473
Normally, Access uses Chr(13) & Chr(10) to create two lines. Can you add the missing character?
 

Gasman

Enthusiastic Amateur
Local time
Today, 12:30
Joined
Sep 21, 2011
Messages
14,305
Use Replace() to replace Chr(10) with vbCRLF ?
 

Users who are viewing this thread

Top Bottom