Share via

Type mismatch in expression

Anonymous
2016-02-27T10:37:53+00:00

I made a query but when I try run it into datasheet view it can't run and there's a message popping on my database it says there that "Type mismatch in expression". How can I fix it?

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. ScottGem 68,830 Reputation points Volunteer Moderator
    2016-02-27T14:17:23+00:00

    A data type mismatch is one of the easiest to diagnose. It means that you are trying to compare values in different data types. For example, comparing a text datatype to a Date/time datatype.

    So you need to look at where you are comparing values and check the datatypes.

    It would help us help you if you posted the SQL statement.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2016-02-27T13:44:08+00:00

    What is the query's SQL statement?  In query design view switch to SQL view and copy the statement to the clipboard.  Then paste it into a reply here.

    Was this answer helpful?

    0 comments No comments