Re: False results using <>



1. Is your query based on these fields only? In other words are other
criteria returning the records you don't want? Please post your query in SQL.


2. You can base the comparison on a truncation of the first field: Left(
[Field1],14) <> [Field2]

Sweetetc wrote:
I am comparing two large tables (3600 records) using <>. I have two issues.

1. One of the sets of column I can see visually match. ALL records in each
column have "N" yet the results are showing all records as not being equal.
I have checked the format which is text and the field size which is 255. Why
would this be showing false results? How can I get it to stop.

2. Another set of columns I am comparing is name. Where I pulled the data
from had different field lengths. So one column is John Smith School and the
field I am comparing truncated John Smith Sch How can I get these two columns
to appear to match?

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-queries/200611/1

.



Relevant Pages

  • Re: Report for table data differences
    ... I am comparing two large tables using. ... So one column is John Smith School and the ... inner join the field in the tables. ... My query is Joined at fund ID where including only those that are equal ...
    (microsoft.public.access.reports)
  • Re: Report for table data differences
    ... I am comparing two large tables using. ... So one column is John Smith School and the ... I usually address this by creating a table of abbreviations ... This will allow you to create a query ...
    (microsoft.public.access.reports)
  • Re: wildcards in parameter queries dont work -access 2003
    ... "Here is the SQL for the Parameter ... The query works perfect. ... I type the value, *John Smith*, to retrieve all the records. ... "Tom Ellison" wrote: ...
    (microsoft.public.access.queries)
  • Re: wildcards in parameter queries dont work -access 2003
    ... "Tom Ellison" wrote: ... I have a query. ... I wanted to make a parameter query. ... I type the value, *John Smith*, to retrieve all the records. ...
    (microsoft.public.access.queries)
  • Re: Querying Variations in Text?
    ... I am trying to query between two extensive tables. ... My dad was Jack Vinson, but he was also John Vinson; ... you have absolutely no assurance that the John Smith in TableA ... duplicates*, not duplicates. ...
    (microsoft.public.access.queries)