John Spencer <(E-Mail Removed)> wrote in
news:#(E-Mail Removed):
> Given the scenario you might want to put
> Like [Table 1][Field1] & "*" under [Table 2][Field1]
>
> And on the next criteria put
> Like [Table 2][Field1] & "*" under [Table 1][Field1]
I think the original question was quite clear that the match was in
one direction, as it said:
> I have two tables with data that is nearly exact - one table has
> truncated data...
On the other hand, I was completely unable to decipher the sample
data provided in relation to that statement.
> If you were unsure of the direction of the match. One problem
> with this approach is that if there is a null in field1 in either
> table then you are going to end up matching every record (except
> those with nulls in field1).
>
> There is a way around this, but the best solution is probably to
> use a non-equi join as described elsewhere.
But a non-equi join works in only one direction, so the
corresponding implicit join using a WHERE clause would not be the
one with criteria on both fields, as you suggest.
--
David W. Fenton
http://www.dfenton.com/
usenet at dfenton dot com
http://www.dfenton.com/DFA/