Solved

Data Type Mismatch in criteria expression

Posted on 2011-03-21
8
543 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
 
LVL 75
ID: 35186819
Issue fixed ... Form Filter and Order property had bogus strings.

mx
interpreter-log-db-MX01.zip
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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 - Access MVP) 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
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.

757 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now