Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Searching all fields
Message
From
03/11/2003 12:21:23
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00845549
Message ID:
00845675
Views:
12
>>if there is a way to search a word or string in all fields
>>in a table.
>
>Yes, you can do that in a number of ways. For example
SELECT mytable
>SCAN
>  FOR i=1 TO FCOUNT()
>    IF TYPE(FILED(i)) = "C"
>       IF lcSearchDFor $ EVAL(lcUserName)
>         *  Found, do something
>       ENDIF
>    ENDIF
>  ENDFOR
>ENDSCAN
Hi Sergey,
I did not find this "FILED()" function in VFP 8.0,
is it one of your own functions?
Thanks,
Terry Harris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform