Jul 28, 2003 #1 jwkolker Programmer Jan 9, 2003 68 US We are trying to remove (replace) hard carriage returns from a field in a dbf. Does anyone have the code handy that will do that? JK John Kolker Programmer jwkolker@comcast.net
We are trying to remove (replace) hard carriage returns from a field in a dbf. Does anyone have the code handy that will do that? JK John Kolker Programmer jwkolker@comcast.net
Jul 30, 2003 #2 ormsk Programmer Sep 30, 2002 147 GB Hi Try cSearch = chr(10) cReplace = "" nPos = 0 do while .not. eof() if cSearch $ surname nPos = AT(cSearch,MyField) REPLACE MyField WITH STUFF(MyField,nPos,2,cReplace) endif skip enddo HTH Upvote 0 Downvote
Hi Try cSearch = chr(10) cReplace = "" nPos = 0 do while .not. eof() if cSearch $ surname nPos = AT(cSearch,MyField) REPLACE MyField WITH STUFF(MyField,nPos,2,cReplace) endif skip enddo HTH