Data type mismatch error (1 Viewer)

liamrowan

Registered User.
Local time
Today, 14:45
Joined
Jul 15, 2010
Messages
54
Access 2012, XP

In qryA I have a field of numbers. QryB is based on qryA, and pulls in ONLY the field with numbers. When I try to sum the field of numbers in qryB, I get the following error:

Data type mismatch in criteria expression.

I am trying to sum the column by first selecting the Totals function, and then selecting "sum" in the "Total" line (Design view).

I don't see anything except numbers in the field. The property for the field indicates "Standard." So I'm stumped.

Ideas?

Thx, William
 

jdraw

Super Moderator
Staff member
Local time
Today, 14:45
Joined
Jan 23, 2006
Messages
15,403
Please post the SQL for the query(s).
 

liamrowan

Registered User.
Local time
Today, 14:45
Joined
Jul 15, 2010
Messages
54
Please advise how to find the SQL for the qry, thanks.
 

jdraw

Super Moderator
Staff member
Local time
Today, 14:45
Joined
Jan 23, 2006
Messages
15,403
Go to the query window, select SQL view, copy the code you see and post it.
 

liamrowan

Registered User.
Local time
Today, 14:45
Joined
Jul 15, 2010
Messages
54
I reported this issue on behalf of a colleague, who now tells me she has gotten the query to work. Thanks for taking the time to read and offer assistance.

William
 

Users who are viewing this thread

Top Bottom