Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Search
Message
De
15/10/2004 14:40:40
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
SQL Search
Divers
Thread ID:
00951813
Message ID:
00951813
Vues:
41
I have a table that has a field with the first word begging with the same name (ie. bean green and bean pork) I would like to do a search by typing in either partial or full word bean and view all results. The following isn't working. Any direction appreciated.
Descr = UPPER(thisform.text2.Value)

lcSave = thisform.grid1.RecordSource
thisform.grid1.RecordSource = ""
SELECT  Name, MA, Buyer, Item, Pack, Size, Brand, Descriptio as Description;
FROM sporder;
where descriptio like DESCR ;
ORDER BY Description;
into CURSOR sorder
thisform.grid1.RecordSource = lcSave

thisform.grid1.recordsource = "sorder"
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform