Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extract names
Message
From
29/08/2005 03:18:28
 
 
To
28/08/2005 23:51:36
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 6 SP3
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01044676
Message ID:
01044692
Views:
13
hi,
i try via vfp8 as under ,it works
i hope this help you
SCAN FOR atc(trim(thisform.text1.value),nam) > 0
? nam
endscan
OR
SCAN FOR atc(trim('Ali'),nam) > 0
? nam
endscan
m.qasem

>Dear Experts
>
>Field1 entitled Name of Table1 has a character type data as
>
>Ahmed Ali
>Ali Reza
>Malik Hassan
>
>I want to extract data that has complete word "Ali" for example if use following commands
>
>SNAME=ALLTRIM("Ali")
>
>SELECT name FROM MASTER;
>WHERE name LIKE SNAME;
>INTO cursor TEST
>
>Then it displays
>Ahmed Ali
>Ali Reza
>Malik Hassan
>
>But I want to extract only following records
>Ahmed Ali
>Ali Reza
>
>Please help
Previous
Reply
Map
View

Click here to load this message in the networking platform