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 / February 2005

Tip: Looking for answers? Try searching our database.

DoCmd. cmd. Me. problems

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sheryl - 07 Feb 2005 17:45 GMT
I have XP Professional and my database is 2000 format.  Anytime I have in my
code the DoCmd.   cmd. or Me.  and I debug I get hung up there.  
I have Microsoft ActiveX Data Objects 2.1 Library referenced and my dim
statements are:
Dim blnQueryExists As Boolean
Dim cat As New ADOX.Catalog
Dim cmd As New ADODB.Command
Dim qry As ADOX.View

I know this isn't much for you to go by, but does anything stick out that I
should be doing or not doing?
Dirk Goldgar - 07 Feb 2005 17:57 GMT
> I have XP Professional and my database is 2000 format.  Anytime I
> have in my code the DoCmd.   cmd. or Me.  and I debug I get hung up
[quoted text clipped - 8 lines]
> I know this isn't much for you to go by, but does anything stick out
> that I should be doing or not doing?

You're right, it isn't much to go on.  You don't mention that you have a
reference to "Microsoft ADO Ext. 2.x For DDL and Security", which you
would need in order to define an ADOX.Catalog or View object, or any
other ADOX objects.

Signature

Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)

Tim Ferguson - 07 Feb 2005 18:20 GMT
> I know this isn't much for you to go by, but does anything stick out
> that I should be doing or not doing?

No it isn't. What is the code that causes the error and what error message?

Tim F
 
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.