Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Query for Joining tables
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01400672
Message ID:
01400732
Vues:
33
>Your query worked like a charm. I did make two changes, because my previous example was not quite correct. I only want rows in the result set that have data in fld2. Thanks!
>
>
>select FldID, Fld2 from Tbl2 where Fld2<>SPACE(10) ;
>UNION ;
>select FldID, Fld2 from Tbl1 where exists (select 1 from Tbl2 where Fld2 = space(10) and FldID = Tbl1.FldID) and Fld2<>SPACE(10)
>
You're welcome. Wish someone can help me with the simple comboboxes problem before I admit defeat.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform