Hello -
I am a novice in MS Access and do not know SQL. I am using Access 2003.
I have set up two queries that seem to be working fine. Each comes directly from a table. I have joined the two queries in a "include all records from A and only those records from B where the joined fields are equal" join.
The fields that I am using for the join are both fixed decimal, zero decimal place fields in their respective queries.
I am getting the "datatype mismatch in criteria expression" error, but have no idea how to go about de-bugging to track down the problem.
I gather from reading other posts that the problem may not even be in the join fields, but could be elsewhere. But how do I go about tracking this down?
The SQL code from the join is below.
thanks very much in advance,
Kristin Graves
I am a novice in MS Access and do not know SQL. I am using Access 2003.
I have set up two queries that seem to be working fine. Each comes directly from a table. I have joined the two queries in a "include all records from A and only those records from B where the joined fields are equal" join.
The fields that I am using for the join are both fixed decimal, zero decimal place fields in their respective queries.
I am getting the "datatype mismatch in criteria expression" error, but have no idea how to go about de-bugging to track down the problem.
I gather from reading other posts that the problem may not even be in the join fields, but could be elsewhere. But how do I go about tracking this down?
The SQL code from the join is below.
thanks very much in advance,
Kristin Graves
Code:
SELECT gibbons_starting_meter_list.Account15,
gibbons_starting_meter_list.[Old Mtr Prfx],
gibbons_starting_meter_list.[Old Mtr #],
mv90_info.Channels,
gibbons_starting_meter_list.[New Mtr Prfx],
gibbons_starting_meter_list.[New Mtr #],
gibbons_starting_meter_list.[Trucking Order #],
gibbons_starting_meter_list.[Ship Date],
mv90_info.LPC_Phone,
gibbons_starting_meter_list.[Comm Type],
gibbons_starting_meter_list.[Signal Strength],
gibbons_starting_meter_list.[Signal Quality],
gibbons_starting_meter_list.[New Equip?],
gibbons_starting_meter_list.[Timers Date],
gibbons_starting_meter_list.[LPDS Date],
gibbons_starting_meter_list.[MExtra 1],
gibbons_starting_meter_list.[MExtra 2],
gibbons_starting_meter_list.[MExtra 3],
gibbons_starting_meter_list.[MExtra 4],
gibbons_starting_meter_list.[MExtra 5],
gibbons_starting_meter_list.Comments
FROM gibbons_starting_meter_list LEFT JOIN
mv90_info
ON gibbons_starting_meter_list.[Old Mtr #] = mv90_info.Meter;
Comment