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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Best Method the Check/Changes Fields

Status
Not open for further replies.

porto99

Technical User
Nov 1, 2004
96
GB
I have just imported into Access 2003 an old FoxPro database.

I now want to check that all the data has been imported and replace charaters such as cr/lf that were present in the Memo fields.

Whats the best way to loop through all the table and check that if a field has cr/lf charaters and replace them with spaces?

A Query, Module and write VB code etc

Porto.
 
Usually
Code:
UPDATE FoxProTable SET MemoField =
Replace(Replace(MemoField,Chr(10)," "),Chr(13)," ")

[small]No! No! You're not thinking ... you're only being logical.
- Neils Bohr[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top