Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SELECT Statement
Message
 
 
To
31/05/2001 10:43:04
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00513062
Message ID:
00513193
Views:
20
This message has been marked as a message which has helped to the initial question of the thread.
>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
lcValue=ALLT(THISFORM.TXT_PATLNAME.VALUE)
Select pat_lname, pat_fname, pat_dob, pat_cdcid, recno() as cRec FROM PATIENT_VIEW WHERE PAT_LNAME =m.lcValue INTO CURSOR CURPAT
Why do you want to group by last name?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform