Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Eliminate record if both field has the same value

Status
Not open for further replies.

myaccess2000

Technical User
Aug 4, 2002
16
0
0
SG
Hi,

I have make a query from a table. This sum up the total amount of money spend and total amount of money paid on item 1, into two field respectively.

item total spend total paid
1 1100 1100 <- Do not show on query.
2 1200 1100

How do i eliminate the record if both values are the same.
Pardon my little knowledge on access.

Regards
Irene
 
Select * from YourTablename Where [Field1] <> [Field2];

or create a query and in the condition row for field 1, type:
<>[Field2]

Of course, you'll have to use the real field and table names.

Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top