Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I cannot seem to do a SQL Select with a where clause
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00301982
Message ID:
00301993
Vues:
17
>VFP 6.0
>
>SQLEexec(nHandle, [select ContHist.RecID from ContHist where (((ContHist.ResultCode)="EXP" .or. (ContHist.ResultCode)="BXP"))], 'ThisCursor')
>
>Anyone have any clue how to do this?
>
>TIA
>
>DJ :o)

There's no need for all the parens... this should work -

SQLEexec(nHandle, 'select ContHist.RecID from ContHist where ContHist.ResultCode="EXP" .or. ContHist.ResultCode="BXP"','thiscursor')


HTH
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform