Les Isaacs
Registered User.
- Local time
 - Today, 14:23
 
- Joined
 - May 6, 2008
 
- Messages
 - 186
 
Hi All
 
I have a routine that imports data from an excel file into an access table and then generates a report based on the table. One of the cells in the excel file contains free text, typically a few sentences. In some cases the sentences are separated onto new lines - the user has done alt-return to generate the new line. When I import the cell into a memo field in my access table, if I view the record directly (by opening the table) the 'new line' shows as a little square with a question mark in it. The report also shows the shows the little square with a question mark in it - rather than treating it as a carriage return and putting the next sentence on a new line.
 
How can I replace the little squares with vbNewLine, or something, that will be recocnised by access?
 
Hope someone can help.
Many thanks
Les
 I have a routine that imports data from an excel file into an access table and then generates a report based on the table. One of the cells in the excel file contains free text, typically a few sentences. In some cases the sentences are separated onto new lines - the user has done alt-return to generate the new line. When I import the cell into a memo field in my access table, if I view the record directly (by opening the table) the 'new line' shows as a little square with a question mark in it. The report also shows the shows the little square with a question mark in it - rather than treating it as a carriage return and putting the next sentence on a new line.
How can I replace the little squares with vbNewLine, or something, that will be recocnised by access?
Hope someone can help.
Many thanks
Les