Question

I want to run a SQL query to copy a row from my table to either the same table or another table.

Whichever method I use, I end up with a message telling me something similar to "You can't run an INSERT INTO query if it contains a multi-value field" (translated from french) I tried using SELECT * INTO, but the result is the same.

My table is about reports, which can have a revision (hence the row copy), and they can have an attachment like for ex. a pdf file.

so, how do you / can you copy a row which has an attachment field ?

Thanks

Was it helpful?

Solution

I do not have Access 2010 to hand at the moment, but you will find that attachments are stored in hidden system tables as single records and that you need to use that table to copy multiple records, unless you wish to use VBA.

More info: http://office.microsoft.com/en-us/access-help/guide-to-multivalued-fields-HA001233722.aspx?pid=CH100645681033
http://msdn.microsoft.com/en-us/library/bb258184.aspx

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top