comparing two tables 
Author Message
 comparing two tables

I need to compare a field in two different tables, both tables have
the same field but I need to return the values that is in one table
but not in the other, using Crystal Reports. I can get the report to
return the values when the values are in both tables. But not when one
table has different values.  I need to return all values in one table
that isn't in the other.

Thanks



Fri, 24 Sep 2004 07:20:26 GMT  
 comparing two tables
Go to the Visual Linking window.  Left click on the link between those fields
and select Options.  Select Left Outer Join.  This will give you all the values
in the table on the left whether they match the table on the right or not.  In
your report you need only print the ones where the value in the second table is
null.  
Quote:
>Subject: comparing two tables

>Date: 4/7/02 6:20 PM Central Daylight Time

>I need to compare a field in two different tables, both tables have
>the same field but I need to return the values that is in one table
>but not in the other, using Crystal Reports. I can get the report to
>return the values when the values are in both tables. But not when one
>table has different values.  I need to return all values in one table
>that isn't in the other.

>Thanks



Fri, 24 Sep 2004 22:29:18 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Comparing two tables and then updating one table.

2. Key field violation when comparing two tables

3. Comparing Two Tables

4. Which is the best way to compare two tables?

5. How to compare two tables and get the difference with SQL?

6. comparing data in specific fields from two tables ???

7. Comparing Two Access Tables?

8. Compare two access databases, size of tables

9. Two tables, two databases

10. Linking two Access tables in two databases

11. Linking two tables from two diferent databases.

12. combine two columns from two tables?

 

 
Powered by phpBB® Forum Software