[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Data Type Mismatch in criteria expression

Posted on 2011-03-21
8
Medium Priority
?
559 Views
Last Modified: 2012-05-11
Experts,

I am helping a non-profit organization; they have an Access database that cannot open in other than "design view". Apparently, the database was working fine but since Friday of last week they cannot open this particular form..
The database has many forms and they all open just fine.

I am not familiar with Access and have no idea how to troubleshoot, can anyone help??

Thank you,
0
Comment
Question by:Newco
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 75
ID: 35186663
Well ... either upload the db (remove any sensitive information) or ... determine where the error is occurring and post the relevant information.  There a many ways that error can be rendered.

mx
0
 
LVL 21
ID: 35186753
It sounds like the issue is not in the form but in the form's record source.

What is the SQL for the form's record source?
0
 
LVL 2

Author Comment

by:Newco
ID: 35186791
here is the db, the we cannot open "interpreter log" in form view.

Thanks,
interpreter-log-db.accdb
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 75
ID: 35186819
Issue fixed ... Form Filter and Order property had bogus strings.

mx
interpreter-log-db-MX01.zip
0
 
LVL 2

Author Comment

by:Newco
ID: 35190643
DatabaseMX:

I am sorry, don't mean to abuse; I actually deleted many other forms on my previous upload, the above file opens just fine, but when I copy the VB code to the "actual" the issue continues "Data Type Mismatch in criteria expression"..

Here is the actual file (with everything), can you help?

Thanks a bunch.
Assignment-LA-and-OC-2009.zip
0
 
LVL 75
ID: 35191276
ok ... standby ...

mx
0
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 2000 total points
ID: 35192063
Ok ... s/b fixed - attached.  Same issue. See screenshot ... The Filter and OrderBy properties had a 'stuck' string ... which is causing this error.  There is no 'VB code' associated with the error.

mx
Assignment-LA-and-OC-2009-MX02.zip
Capture1.gif
0
 
LVL 2

Author Closing Comment

by:Newco
ID: 35202809
Thank you very much!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question