Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Search the record
Message
From
19/09/2006 12:59:46
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01155154
Message ID:
01155158
Views:
21
Avoid Alltrim, unless you REALLY need it, which probably is close to never! And it's much faster to use a variable in the where clause.
lcText=Thisform.search.value
WHERE Student.descr=lctext and " "$UPPER(descr) 
>search the record from whole veriable, if "khubaib" is in verialbe. khubaib khalid, khubaib zia, even"KHUBAIB KHALID" in upper and lower case. i want khubaib
>thanks
>this code is working in set filter to but not in sql
>
>
>WHERE  ( Student.descr=ALLTRIM(Thisform.search.value)and" "$UPPER(descr) )
>
Previous
Reply
Map
View

Click here to load this message in the networking platform