CopyFromRecordset fails if string > 911?

G

Guest

When using the CopyFromRecordset method, it fails if the lenghth of text
exceeds 9XX.

Using ADO to connect to an Access 2003 database. Fields are defined as
"memo" in Access (unlimitted length).
 
G

Guest

I also ran into the 911 character limitation mentioned in KB 818808 too.
There has to be a workaround, however, since using Tools > Import External
Data or Microsoft Query does not produce the same error using the same data.

I attempted to use the copy recordset to array, then transpose and copy
array to worksheet method mentioned in KB 246335, but I got the same error.
That makes sense since, as KB 818808 states, the error is produced by
"programmatically set[ting] a large array string to a range in Excel 2003."

So, the question remains, how does Tools > Import External Data do it and
not get the error?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top