Results 1 to 6 of 6
  1. #1
    raychow22 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    May 2017
    Posts
    145

    Append Table Data With Multi-Value Fields

    Hi Forum,



    Is it possible to append "Table" data from one Access file to another Access file with Multi-Value Fields within the Tables?

    Or would it be simplier just to make these fields in the "Table" just text boxes?

    Thanks,
    Raymond

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    Your question is not clear enough for me to give a definite answer to your question but, in general, multi value fields are an extremely bad idea. They make queries/reporting/coding much, much, much more difficult. That being said, if the two tables had exactly the same data structure, I do not see any reason an append query wouldn't work but I honestly have never tried to append data from a multi value field into another multi value field.

  3. #3
    raychow22 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    May 2017
    Posts
    145
    Quote Originally Posted by rpeare View Post
    Your question is not clear enough for me to give a definite answer to your question but, in general, multi value fields are an extremely bad idea. They make queries/reporting/coding much, much, much more difficult. That being said, if the two tables had exactly the same data structure, I do not see any reason an append query wouldn't work but I honestly have never tried to append data from a multi value field into another multi value field.
    They both have the same structure. But message says I cant append data from a multi-value fields.

    Here is a snapshot.

    Click image for larger version. 

Name:	pic1.png 
Views:	12 
Size:	53.6 KB 
ID:	29783

    Can my solution be use multi-value fields in my "Forms" and then leave fields as text boxes in my "Table"?

  4. #4
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    it depends on what you are storing in your multi value field. If it's something like a keyword string, then yes, you could, as long as you are were storing the string and not the primary key value. If it's something where you'd want to actually do something with the data other than just examine it as a string, then no, it would be a bad idea.

  5. #5
    raychow22 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    May 2017
    Posts
    145
    I just want to be able to easily append my "Table" data from another access file. Since I can't append them with Multi-Value fields. Are there any alternatives to not using Multi-Value fields? I don't want to use Single fields because I would have to create more fields in my "Forms" is there another way to do this?

  6. #6
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    VBA Code, that's likely the only way, which is why you don't use multi value fields to start with, they are exceptionally hard to deal with. Better to start with a good, normalized structure (main table and sub table).

    Example of cycling through multi valued fields with code:

    http://www.tek-tips.com/viewthread.cfm?qid=1657058

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Append Query - Multi-Valued Fields
    By lynthel in forum Queries
    Replies: 8
    Last Post: 08-03-2017, 11:46 AM
  2. Replies: 3
    Last Post: 07-07-2016, 08:13 AM
  3. Replies: 4
    Last Post: 06-09-2016, 06:00 AM
  4. Replies: 3
    Last Post: 01-24-2013, 02:38 PM
  5. Replies: 1
    Last Post: 12-01-2010, 11:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums