Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select from select
Message
De
14/03/2006 13:49:24
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01104014
Message ID:
01104300
Vues:
14
>Thanks Rich, it most certianly does do the trick.
>
>I must track down the help file for VFP 6 so I can check what is and isn't possible.
>
>Regards
>Geoff Scott
>
FWIW.........

This is compatible with FPW2.6 SQL coding. Sometimes it helps to be a dinosaur!!!!





>>>Hi
>>>
>>>in version 9 I can code
SELECT mytable.* ;
>>>	FROM (SELECT linkfield FROM othertable WHERE test = testvalue GROUP BY linkfield) as tLink ;
>>>		INNER JOIN mytable ON tLink.linkfield = mytable.linkfield
>>>which is really fine. Is it possible to achieve the same result in version 6 (odbc)?
>>>
>>>regards
>>>Geoff Scott
>>
>>Does
>>
>>SELECT * FROM mytable
>>  WHERE mytable.linkfield IN (SELECT linkfield FROM othertable WHERE test = testvalue)
>>do the trick?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform