Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default CopyFromRecordset does nothing

I have a routine written and executed from an access
modulate that creates an instance of Excel and copies a
recordset from access to Excel using the CopyFromRecordSet
method.
Currently, this code is being executed successfully on
about 50 separate machines running windows and excel 2000.
Just recently, one of the users has reported an error and
I've isloated it the "CopyFromRecordSet" routine.
I don't know why the code stops working (no error message
is given). I've searched the KnowledgeBase but have come
up with nothing.

TIA
Hafeez
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default CopyFromRecordset does nothing

Possibly the user has a reference to DAO and it is at a higher level than
the reference to ADO. Not sure how that would happen and would expect it
would raise an error, but something to check.

--
Regards,
Tom Ogilvy

"Hafeez" wrote in message
...
I have a routine written and executed from an access
modulate that creates an instance of Excel and copies a
recordset from access to Excel using the CopyFromRecordSet
method.
Currently, this code is being executed successfully on
about 50 separate machines running windows and excel 2000.
Just recently, one of the users has reported an error and
I've isloated it the "CopyFromRecordSet" routine.
I don't know why the code stops working (no error message
is given). I've searched the KnowledgeBase but have come
up with nothing.

TIA
Hafeez



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default CopyFromRecordset does nothing

The user has the exact same references set as everyone
else that's using the tool.
This thing is really confusing me!
Hafeez Esmail

-----Original Message-----
Possibly the user has a reference to DAO and it is at a

higher level than
the reference to ADO. Not sure how that would happen and

would expect it
would raise an error, but something to check.

--
Regards,
Tom Ogilvy

"Hafeez" wrote in message
...
I have a routine written and executed from an access
modulate that creates an instance of Excel and copies a
recordset from access to Excel using the

CopyFromRecordSet
method.
Currently, this code is being executed successfully on
about 50 separate machines running windows and excel

2000.
Just recently, one of the users has reported an error

and
I've isloated it the "CopyFromRecordSet" routine.
I don't know why the code stops working (no error

message
is given). I've searched the KnowledgeBase but have

come
up with nothing.

TIA
Hafeez



.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
CopyFromRecordset for Oracle ? Rich[_16_] Excel Programming 2 July 19th 04 10:38 AM
ADO & CopyFromRecordset performance vali Excel Programming 7 July 14th 04 09:09 AM
CopyFromRecordset Bug with Office XP Jeff Meeko Excel Programming 2 April 12th 04 05:21 PM
CopyFromRecordset does nothing E Harris Excel Programming 5 January 8th 04 04:29 PM
Copyfromrecordset Bug ? news.btx.dtag.de Excel Programming 1 August 1st 03 07:44 PM


All times are GMT +1. The time now is 10:48 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"