View Single Post

   
  #3 (permalink)  
Old 04-09-2008, 11:39 PM
Daniel Seichter
 
Posts: n/a
Default Re: Replace String in Database

Hello Kevin,

> Potentially the '\' is a problem. Try 'c:~\' and '~\~\server~\c' in the
> replace function. This works for me:
>
> DEFINE VARIABLE cString AS CHARACTER INITIAL "C:\" NO-UNDO.
>
> cString = REPLACE(cString, "c:~\", "~\~\server~\c").
>
> MESSAGE cString
> VIEW-AS ALERT-BOX INFO BUTTONS OK.

Thank you, it works fine now!

Wish you a nice day

Daniel Seichter
--
Nachrichten an nospam [at] dseichter.de werden sofort gelöscht!!!
Für E-Mail Kontakt bitte daniel [at] dseichter.de benutzen.
Messages to nospam [at] dseichter.de will deleted immediately!!!
To contact me please use daniel [at] dseichter.de.


Reply With Quote