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 / Forms / November 2007

Tip: Looking for answers? Try searching our database.

Compile Error - User Defined Type not defined

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ChuckW - 12 Nov 2007 16:28 GMT
Hi,

I am getting a compile error - user defined type not defined.  The VB code
lists
Private Sub cmdReport Click()
Dim qdf as DAO.QueryDef

The Dim qdf as DAO.QueryDef line is highlighted.  The code is part of a form
where the user selects some items and then click a button and then runs a
report.  It worked about a year ago but I have not run it in a while.

Thanks,

Chuck
Signature

Chuck W

Douglas J. Steele - 12 Nov 2007 16:46 GMT
Go into the VB Editor and select Tools | References from the menu bar. If
the reference for Microsoft DAO 3.6 Object Library isn't one of the checked
ones at the top of the list, scroll through the list until you find it and
select it.

If the reference is there, but any of the other checked ones have MISSING:
in front of them, see
http://www.accessmvp.com/DJSteele/AccessReferenceErrors.html

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

> Hi,
>
[quoted text clipped - 11 lines]
>
> Chuck
 
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.