Thanks. When i created the update query and type in
"Replace([FieldName], Chr(10), Chr(13) & Chr(10), 1, -1, 1)" into the
"Update to" field it creates the breaks in the new line. If I run the query
and then go to the table and look at the data, the data looks fine with no
squares and starts a new line. But if i re-run the query again its add a
square. Every time I re-run the query it adds a square. How can I prevent
this.
Ken Snell said:
Run an update query on the data to convert that "square box" (which most
likely is the line feed character, Chr(10), as EXCEL uses just the line feed
character to put new lines in cells) to the carriage return and line feed
characters (Chr(13) & Chr(10)):
UPDATE Tablename
SET FieldName = Replace([FieldName], Chr(10), Chr(13) & Chr(10), 1, -1, 1);
--
Ken Snell
<MS ACCESS MVP>
stw8 said:
I have imported data form excel to access. However the data in access
contains a littlet square box representing the carriage return. How do i
replace the little square box with a blank. So when i print the report it
doesn't show the little square box but a space.