473,416 Members | 1,750 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

copyfromrecordset does not work on different machine no errors reported

Hi,
Both laptops seem to have the same set up office 2002 and windows XP.
But copyfromrecordset works fine on one PC and fails in another. It
does not throw any exception. Help!! thanks,

Dec 2 '05 #1
4 1881
G'morning~

You may want to check the references for the database on the good
machine and compare them to the references on the bad one. You can
find the references by viewing a code module, then clicking Tools, then
References in the pull-down menu. Recordset functions usually require
ADO or DAO libraries loaded.

HTH,
Jana

Dec 2 '05 #2
TTBOMK CopyFromRecordSet is an MS Web Application method, and not a
meber of either Access, VBA, ADO or DAO. I've never seen it used in
Access. Can it be used; is it used; is there an example?

Dec 2 '05 #3
Hi Jana,

Thanks! I checked the references and they are identical . I also
checked the dates on the dll files to make sure I did not have a
different version.

Dec 2 '05 #4
Lyle Fairfield wrote in message
<11**********************@g43g2000cwa.googlegroups .com> :
TTBOMK CopyFromRecordSet is an MS Web Application method, and not a
meber of either Access, VBA, ADO or DAO. I've never seen it used in
Access. Can it be used; is it used; is there an example?


You are correct. It is also a method of Excel's Range object, and works
with both ADO and DAO recordsets when automating.

--
Roy-Vidar

Dec 2 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: info | last post by:
I have an Access Application which happily uses CopyFromRecordset to transfer values from an access query via a recordset to an excel spreadsheet, this works on three machines. However, when I try...
3
by: Sarah | last post by:
I know there have been plenty of posts online about this issue, but I have yet to find a solution. I am desperate for a good answer. The issue is: with newly-built PCs and, as it happens, our web...
2
by: al | last post by:
Greetings, I'm wondering if Excel object CopyFromRecordset is still supported in VB.NET?? If not, what is the alternative, looping through dataset???? MTIA, Grawsha
0
by: Charles Law | last post by:
I thought I would pass this on, as I have oft' seen this problem reported, with no solution. The problem is that in a solution containing several projects, the compiler will sometimes report a...
2
by: zhollywood | last post by:
OK... I'm not VBA illiterate, but I'm a BA trying to maintain a code-heavy Access 2002 (XP OS) front-end attached to Oracle tables. I have an export to Excel button that worked before the SP2...
2
by: cycnus | last post by:
Does anyone else have the same issue? I'm using Access 2007 and trying to export a DAO recordset to excel using CopyFromRecordset but I systematically get a "Run-Time error 430, Class does not...
3
by: Cor Pruim | last post by:
I have a very strange problem. I have written a Windows Service with VS2003 in vb.net. This service does some calculations and after that it needs to produce some Excel reports by getting data from...
0
by: Roger | last post by:
can anyone explain this ? originally using access97 with a linked table to an mdb backend, to create a worksheet using SELECT * FROM qryIPS WHERE location = 999 and it works fine with either...
11
by: mac6777 | last post by:
I am having a problem with the CopyFromRecordset function in VBA Access. I am attempting to run VBA in an Access Database that copies query results into an Excel spreadsheet. The VBA opens an Excel...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.