Solved

Data Type Mismatch in criteria expression

Posted on 2011-03-21
8
553 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
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…

729 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