ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   CopyFromRecordset Fails (https://www.excelbanter.com/excel-programming/427291-re-copyfromrecordset-fails.html)

JLGWhiz

CopyFromRecordset Fails
 
I don't know about expressions, but this snippet is right out of the VBA help
file.

If the Recordset object contains fields with OLE objects in them, this
method fails.



"Bob" wrote:

Using Excel and Access 2003, the CopyFromRecordset method fails. I'm using a
DAO recordset and the OpenRecordset method. By a process of elimination, it
seems that fields in the Totals query that are Expressions are causing the
problem. Is it true that queries with Expression fields fail with
CopyFromRecordset?



All times are GMT +1. The time now is 07:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com