Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SELECT Statement
Message
From
31/05/2001 11:21:44
 
 
To
31/05/2001 10:43:04
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00513062
Message ID:
00513183
Views:
15
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
Previous
Reply
Map
View

Click here to load this message in the networking platform