Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need SQL to find LATEST child record
Message
From
15/04/2003 11:00:04
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00777700
Message ID:
00777765
Views:
19
Hi Sergey,
Thanks for the input.
I have attempted to modify as required and this is where I am at. I get the error:
SQL: Queries of this type are not supported.

SELECT inmates.cid, inmates.cinmate_number, acct_events.tdatetm, acct_events.cstatus ;
FROM acct_events, inmates;
WHERE inmates.cid + TTOC(acct_events.tdatetm,1) IN ( ;
SELECT acct_events.cid + TTOC(MAX(acct_events.tdatetm),1) ;
FROM acct_events ;
GROUP BY cid) ;
INTO CURSOR crsLastEven NOFILTER
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform