Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Search the record
Message
 
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:
01155159
Views:
16
>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) )
>
WHERE  (UPPER(Student.descr) LIKE [%]+UPPER(ALLTRIM(Thisform.search.value))+[%] )
If you want Descr just to BEGIN with UPPER(ALLTRIM(Thisform.search.value)) remove first [%] sign.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform