Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not getting all of the possible records?
Message
 
 
À
26/10/2002 14:58:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00715045
Message ID:
00715799
Vues:
16
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform