Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Searching all fields
Message
 
 
To
03/11/2003 06:53:15
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00845549
Message ID:
00845577
Views:
13
>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
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform