Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to change chars inside memo field
Message
From
09/04/2009 11:01:01
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
09/04/2009 10:39:58
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01393954
Message ID:
01393961
Views:
37
>Hi all, I have a memo field with a text like this one "This machine will allow you to use it&&management&&001001&&xx:1010&&"
>as you see, the people that construct that sentence use && to separate inside text. I need to convert those && to chr(13) or extract each phrase, i already tried strtran, getwordnum but the && are generating an error. Somebody knows how to avoid it?
>"Command contains unrecognized phrase/keyword."
replace myMemo with strtran( myMemo, '&'+'&', chr(13)+chr(10))
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform