Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / March 2006

Tip: Looking for answers? Try searching our database.

Type mismatch even though types are the same

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
uncreative - 20 Mar 2006 22:07 GMT
Hello,

I am doing a simple select query between a SQL database table and an Excel
file.  When I join the two appropriate fields, I receive a "type mismatch in
expression" message.  The Excel file is formatted as text and I have
performed this identical query with other Excel files and not had this
problem.  I have also tried formatting the cells as every other type in case
I was wrong, and received the same error each time.  I have also formatted a
blank worksheet as text and pasted in only the values and I still receive
this type mismatch error.  Does anyone have any suggestions?  Please??  I am
going mad!
[MVP] S.Clark - 21 Mar 2006 05:34 GMT
Does Excel even have datatypes?  I know you can format a cell, but does it
truely conform to an Access data type?

Try importing the data into an Access table.  See what datatype it gives for
the column.  You might think its a number, but there's actually text in it.

Signature

Steve Clark, Access MVP
http://www.fmsinc.com/consulting
*FREE* Access Tips: http://www.fmsinc.com/free/tips.html

> Hello,
>
[quoted text clipped - 11 lines]
> am
> going mad!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.