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!

Specifying a foreign key in the criteria (MISMATCH ERROR)

Status
Not open for further replies.
May 28, 2003
13
US
I am getting a "type mismatch" error when I try to run this query that is pulling info from a lookup table. Access help told me it was a problem, but not how to fix it. It told me I should use them (foreign keys) when you specify criteria for a field. How do I do this?

 
Can you post the SQL for the query?

Type mismatch means that the datatypes of two expressions don't match and cannot be automatically converted to matching types. For example, the column values are integers and your query contains a criterion value that cannot be converted to an integer such as the letter A.
 
The column that it is looking up is a lookup table of 4 names, first and last. I am getting this error even without anything in the criteria field???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top