Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

replace returns within a field 1

Status
Not open for further replies.

mflancour

MIS
Apr 23, 2002
379
US
Is there a way to search for, and replace retuns within an access field...ie:
Before replacement:
asdf
asdf
asdffasdf

After replacement:
asdf asdf asdffasdf
 
You can use a query, for one:
[tt]UPDATE tblTable SET tblTable.SomeField = Replace([SomeField],(Chr(13)+Chr(10))," ");[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top