D
Don Hicks
Hello,
I'm using Access '97 to process some data that has been imported from
another database.
The information, as it came from the original database, contains text fields
that have been divided over multiple records.
This is what it once looked like:
Record Text
0001 This is the text in the first field.
0002 This is the text in the second
0003 and third fields.
0004 This is the text in the fourth &
0005 fifth fields as well as a sixth
0006 field.
About a year ago, several people in this newsgroup helped me to solve a
similar problem using a Concatenate function in VB, so now each record has
the entire text field rather than a part of it.
My new dilemma is that the text field has somehow picked up or added
carriage returns at the ends of each original line in the text fields, such
that the entire text field, even though it contains all the data, is
forcibly wrapped within the field.
This is what the new information looks like:
Record Text
0001 This is the text in the first field.
0002 This is the text in the second
and third fields.
0003 This is the text in the fourth &
fifth fields as well as a sixth
field.
And, here is what I want it to look like:
Record Text
0001 This is the text in the first field.
0002 This is the text in the second and third fields.
0003 This is the text in the fourth & fifth fields as well as a
sixth field.
Is there a way to query a field, stripping carriage returns, or just
replacing all carriage returns within the field with spaces?
Sincerely,
Don Hicks
Portland, OR
I'm using Access '97 to process some data that has been imported from
another database.
The information, as it came from the original database, contains text fields
that have been divided over multiple records.
This is what it once looked like:
Record Text
0001 This is the text in the first field.
0002 This is the text in the second
0003 and third fields.
0004 This is the text in the fourth &
0005 fifth fields as well as a sixth
0006 field.
About a year ago, several people in this newsgroup helped me to solve a
similar problem using a Concatenate function in VB, so now each record has
the entire text field rather than a part of it.
My new dilemma is that the text field has somehow picked up or added
carriage returns at the ends of each original line in the text fields, such
that the entire text field, even though it contains all the data, is
forcibly wrapped within the field.
This is what the new information looks like:
Record Text
0001 This is the text in the first field.
0002 This is the text in the second
and third fields.
0003 This is the text in the fourth &
fifth fields as well as a sixth
field.
And, here is what I want it to look like:
Record Text
0001 This is the text in the first field.
0002 This is the text in the second and third fields.
0003 This is the text in the fourth & fifth fields as well as a
sixth field.
Is there a way to query a field, stripping carriage returns, or just
replacing all carriage returns within the field with spaces?
Sincerely,
Don Hicks
Portland, OR