Forum Discussion
faxylady
Jul 08, 2021Copper Contributor
Append query
I am trying to append several entries from one table to another. I keep getting the error message, "An Insert Into Query cannot contain a multi-valued field." In the criteria row I put "between 07/0...
isladogs
MVP
Correction to the last post. Make table queries are also not possible with MVFs
isladogs
Jul 09, 2021MVP
Sorry., my original reply didn't appear so the above comment made little sense.
Multivalued fields (MVFs) are in many ways a poor choice and most experienced developers will recommend avoiding their use. See my article http://www.mendipdatasystems.co.uk/multivalued-fields/4594468763.
The issue is that they depend on a deep hidden system table over which you have no control.
The error message is clear. MVFs cannot be used in INSERT (append) queries. This is the result of the deep hidden table. There is no simple work round. You will also be unable to use MVFs in make table or delete queries...though update queries can be done.
Recommend you replace all MVFs with standard fields, one value per record. You will find life becomes far easier
- faxyladyJul 14, 2021Copper ContributorThank you. Are attachment fields MVFs? Also, are you able to do remote sessions?
- isladogsJul 14, 2021MVPHi.
Attachment fields are a special type of MVF. They have all the disadvantages of MVF fields and massively bloat the database size. Again much better to avoid them completely.
Whilst I can do remote sessions, I cannot do so this week. What purpose would a remote session have for your problem?- faxyladyJul 25, 2021Copper ContributorI still need your help. I tried setting up several attachment fields on place of the one multivalued field. It did not seem to work. These attachments are very important to what I am doing.
Will you be available to do a remote session this upcoming week?