Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Search a table for a string
Message
From
17/07/2003 18:46:53
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00811295
Message ID:
00811316
Views:
15
>Want to build a search function that would return the recno() of a row that contains a user defined string in any of the fields. Would like to make it generic so that I do not have to know the fields names. Can anyone point me in the right direction?
>
>Thanks
>
>Brenda

If you want to search numeric and date fields too, you can adapt Mark's code by using transform() for any field type, or using your own type-conversion UDF.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform