Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UniqueValue
Message
 
À
14/04/2004 18:23:20
Dave Nantais
Light speed database solutions
Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Divers
Thread ID:
00894733
Message ID:
00895108
Vues:
18
>Suppose the countries table has two fields namely CountryID, and CountryName.
>Suppose the states table has two fields namely CountryID, and StateName.
>
>SELECT CountryID, StateName, COUNT(Statename) FROM Country INNER JOIN State ON Country.CountryID= State.CountryID GROUP BY CountryID, Statename INTO CURSOR CountState
>
>
>Use the table entitled CountState to determine whether or not a state is unique within a given country

Thanks Dave, but I would like to know if there is any "ready" method, like lUnique, cView and cViewParameter.

Regards,
José Augusto Cavalcanti
Global Connection
jose.cavalcanti@globalconnection.com.br
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform