Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select, where, like
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2008 R2
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01663519
Message ID:
01663520
Vues:
59
>lNomb = ALLTRIM (This.Value)
>
>SELECT CContratos.NOMBRE, CContratos.CONTRATO, CContratos.DECHA, CContratos.PRESTAMOA, CContratos.IMPORTE, CContratos.FECHAREF, CContratos.FECHACOMER, CContratos.STAT;
>FROM CContracts WHERE CContratos.NAME LIKE "% lNomb%" INTO Cursor CONTRNOMB readwrite
>Thisform.Grid1.RecordSourceType = 1
>ThisForm.Grid1.RecordSource = 'CONTRNOMB'
>Thisform.Grid1.Refresh

Does this work? ... LIKE "% &lNomb%" ... or this? ... LIKE "% " + lNomb + "%" ...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform