Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not getting all of the possible records?
Message
 
 
To
26/10/2002 14:58:31
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00715045
Message ID:
00715799
Views:
15
You're right, it should be
SELECT Str(id) + MAX(TTOC(effective_date, 1)) AS id_maxdt;
	FROM address_tbl ;
        GROUP BY id ;
	INTO CURSOR crsAddr
SELECT Str(id) + MAX(TTOC(effective_date, 1)) AS id_maxdt ;
	FROM name_tbl ;
        GROUP BY id ;
	INTO CURSOR crsName
>Arggggg... you are right, I was hoping to stay away from a multiple pass REQUERY() solution. Your first two SQL statements require a GROUP BY clause; but other than that, the logic shines through.
>
>Thanks again Sergey!
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform