Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Home > Forums > Access Forum > Data Type Mismatch by Natallia Belaya
Back to Access Forum    Comments List
Upload Images | @Reply | Bookmark | Link | Email | Next Unseen |
Data Type Mismatch
Natallia Belaya 
    
5 years ago
Hi all! I get an error too Data type mismatch in criteria expression and cant figure out where I messed up.
FA_CID = DLookup (FA_CID,  RateResetMakeTableT,  TranNo = & Forms!LoanTicketAddNewF!TranNo)

FA_CID = is Field name on the form. It is a customer Short Name. Its a text
TranNo (transaction#) is done as MakeTableQ as short text as well. Its 6 digit number (for ex.123456) but it was converted from LD00123456 from the original data base where its short text. By this 6 last digit I need to find the rest of the information. Here is a customer short name

Please help! :)
Thank you
Scott Axton  @Reply  
      
5 years ago
Richard / Alex - Maybe this should be in it's own topic?  Doesn't really pertain to OP's issue.

Natalia -
Just based on your field names it appears to me that you are mixing Short Text and Number data types.

Your issue is not very clear to me. It would help if you could give an example of what data you have and what you are trying to do with it.
Richard Rost  @Reply  
           
5 years ago
Scott: yeah, I'm going to start closing threads after there have been no replies for 30 days to stop this from happening.

Natallia: you just need to review how to use DLookup. Your field name, table name, and criteria need to be inside quotes.

ID = DLookup("FieldName", "TableT", "Criteria=" & ID)

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
 
What's This?

 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 11/15/2026 9:29:43 AM. PLT: 0s