Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wil.cards in Txtboxes
Message
From
26/01/2001 17:27:14
 
 
To
26/01/2001 17:22:20
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00469261
Message ID:
00469262
Views:
18
>Can vfp allow me to give my users the capability to enter in wildcard characters in a text box and perform searches? ie enter in patient number 123???should generate all patient numbers that begin with 123...

You can try using the SQL LIKE command with the wild cards for "_" representing a single character position and "%" representing more than one.

SELECT * FROM patients WHERE patientnum LIKE "123%" could work.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform