If you are saying you have a calculated field in your table, you are making a
mistake. One of the basic rules of database normalization is not to store
calculated values, but in any case, this is the important part:
WHERE [FirstNumber] <> [SecondNumber];
If you are doing this in query design view, you can put the following in the
Criteria row of the FirstNumber column:
<> [SecondNumber]
That will filter out all records where the two fields have the same value.
--
Dave Hargis, Microsoft Access MVP
Tom said:
What the columns are for is a accural amount and what was actually paid. I
need the query to only give me the ones that DO NOT Match.
Does what you show below give me this? If yes, how would I put it in the
query?
I know you may think a rookie.
Thanks
--
Tom
Klatuu said:
If both columns are in the same table, why are there two columns with the
same value?
SELECT * FROM MyTable WHERE [FirstNumber] <> [SecondNumber];
Use your own table and field numbers
I have copywrites on my example
![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
--
Dave Hargis, Microsoft Access MVP
:
I have a Access DB that two different colums should be the same match
(Number). I need to create a Query that will give me the ones that do not
match exactly.
Your help is appreciated.