PC Review


Reply
Thread Tools Rate Thread

DoCmd. cmd. Me. problems

 
 
=?Utf-8?B?U2hlcnls?=
Guest
Posts: n/a
 
      7th Feb 2005
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?
 
Reply With Quote
 
 
 
 
Dirk Goldgar
Guest
Posts: n/a
 
      7th Feb 2005
"Sheryl" <(E-Mail Removed)> wrote in message
news:A1884657-FC89-4419-8032-(E-Mail Removed)
> 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?


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.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)


 
Reply With Quote
 
Tim Ferguson
Guest
Posts: n/a
 
      7th Feb 2005
=?Utf-8?B?U2hlcnls?= <(E-Mail Removed)> wrote in
news:A1884657-FC89-4419-8032-(E-Mail Removed):

> 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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DoCmd.openform problems =?Utf-8?B?Unlhbg==?= Microsoft Access Form Coding 3 3rd Apr 2007 06:40 PM
Problems Exporting SP to excel via docmd.outputto Diego Microsoft Access ADP SQL Server 1 1st Dec 2005 05:02 PM
Problems using Docmd.RunSQL Marlon Smith-Williams via AccessMonster.com Microsoft Access Forms 6 22nd Apr 2005 03:33 PM
docmd.apply filter problems Paul M Microsoft Access Form Coding 2 7th Oct 2004 06:18 PM
Opening report problems using the DoCmd.OpenReport Emmanuel Microsoft Access Reports 1 10th Mar 2004 08:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:51 PM.