Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / March 2005

Tip: Looking for answers? Try searching our database.

Type Mismatch Error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Find a Ritz guy - 05 Mar 2005 15:27 GMT
Hi, suddenly I am getting a Run Time error 13 - Type Mismatch error on the
following line of code in a Function:

Set doc = dbs.Containers("Databases")!UserDefined

This cropped up suddenly today and had not given me any prior problems.  As
a matter of fact, I use the same code in several databases and it works fine
in the others.

I have done a compact and repair and even deleted and re-entered the function.

Does anyone have a clue on why this could be happening?

Thanks for any help.
'69 Camaro - 05 Mar 2005 15:39 GMT
Hi.

Your database may have lost one of its library references.  Make sure that
your database has a reference set  to the Microsoft DAO 3.6 Library, and you
have no "MISSING" references.  For more information, please see Tom
Wickerath's Gem Tip, "ADO and DAO Library References in Access Databases" on
the following Web page:

http://www.Access.QBuilt.com/html/gem_tips1.html

HTH.

Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.

(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)

- - -
When you see correct answers to your question posted in Microsoft's Online
Community, please sign in to the Community and mark these posts, so that all
may benefit by filtering on "Answered questions" and quickly finding the
right answers to similar questions.  Remember that the best answers are often
given to those who have a history of rewarding the contributors who have
taken the time to answer questions correctly.

> Hi, suddenly I am getting a Run Time error 13 - Type Mismatch error on the
> following line of code in a Function:
[quoted text clipped - 10 lines]
>
> Thanks for any help.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.