Yes. I have tried including all the fields, but get an error Method "Execute" of Command Object failed on the following line.. 'Set rs = cmd.Execute()".
I will need each field to go in a designated cell.
Yes. I have tried including all the fields, but get an error Method "Execute" of Command Object failed on the following line.. 'Set rs = cmd.Execute()".
I will need each field to go in a designated cell.
I tried to use your code and it seems to run fine.
Microsoft says the fast 'CopyFromRecordset' instruction will fail if the recordset
contains an OLE object field or array data such as hierarchical recordsets.
For more info: http://support.microsoft.com/kb/246335
Regards,
Antonio
ok.. i got it to work mostly. The error pops up when I use a field in the select statement that has "NULL" for some of its data.
Thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks