Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT Statement
Message
De
31/05/2001 11:21:44
 
 
À
31/05/2001 10:43:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00513062
Message ID:
00513183
Vues:
16
This message has been marked as the solution to the initial question of the thread.
try:

ctemp = ALLT(THISFORM.TXT_PATLNAME.VALUE) + "%" && SQL wildcard ('*' in os)
SELE pat_lname, pat_fname, pat_dob, pat_cdcid, recno() as cRec FROM PATIENT_VIEW WHERE ALLT(PATIENTS.PAT_LNAME) like m.cTemp GROUP BY PAT_LNAME INTO CURSOR CURPAT



>i have set ansi off now. still pulling more records than it should. here's the sql statement
>
>SELE pat_lname, pat_fname, pat_dob, pat_cdcid, recno() as cRec FROM PATIENT_VIEW WHERE ALLT(PATIENTS.PAT_LNAME) = ALLT(THISFORM.TXT_PATLNAME.VALUE) GROUP BY PAT_LNAME INTO CURSOR CURPAT
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform