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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Identify differing records in two tables by query.

Status
Not open for further replies.

jlockley

Technical User
Nov 28, 2001
1,522
US
Is there a way to compare two databases of same or different structure to see which members differ on one field.

The format Name (key) Last name (keyed)...<same or differing fields>..<expiration date>

I would like to extract the records with differing expirations dates.

 
qbe=query

tblA.db | name | last name | expire |
| _a | _b | _c |

tblB.db | name | last name | expire |
checkplus | _a | _b | not _c |

endquery


Is this what you mean? OR do the name fields not even need to be in there?



Tony McGuire
"It's not about having enough time. It's about priorities
 
AHA!!! (sound of quarter dropping in the slot and machinery slowly turning). I think it is exactly what I need. I will try it at once. Thank you! I didn't know/think you could use NOT thusly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top