That error occurs when there are more elements in an array than the
boundries allow for. In your case, I suspect that the record you are trying
to copy has an autonumber field which can't be pasted. So when you paste,
you get the table's autonumber plus the one you have copied. This adds up to
more than the number of fields. I suggest you build a recordset and only
write the data you can.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access Downloads http://www.datastrat.com http://www.mvps.org/access
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.