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
Solved

Data Type Mismatch in criteria expression

Posted on 2011-03-21
8
549 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
  • 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
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 500 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

839 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