Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strtran not working
Message
 
To
22/10/2010 13:34:22
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Vista
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01486638
Message ID:
01486641
Views:
54
Cheers James

repl NW2_m20 with ... did the trick
~M

>strtran returns a value.
>
>lcNewVal = STRTRAN(NW2_m20,"A1A","")
>
>
>>hi all,
>>can anyone point out what I'm missing here please. I have a memo field NW2_M20 in the table with alias NW2 but this code does not work.
>>sele NW2
>>if "A1A" $ upper(NW2_m20)
>> STRTRAN(NW2_m20,"A1A","")
>>
>>The code gets into the if statement but the STRTRAN code does not remove the text A1A, there is only 1 instance of A1A in the memo field.
>>~M
Go raibh maith agat

~M
Previous
Reply
Map
View

Click here to load this message in the networking platform