Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Query for Joining tables
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01400672
Message ID:
01400732
Views:
32
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform