Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Change table or field in  MS Access 2010 table from multi-valued to normal table or field.

Posted on 2014-11-05
3
168 Views
Last Modified: 2014-12-05
I have table with several multi-valued fields. Table is populated with data.
I want to change this table that those fields are not multi –valued .
How to do that?
I tried to create the table with same fields and append  multi-valued field table to this not multi-valued but it will not allow me to do it get error that source or destination of query could not be multi-valued table.
0
Comment
Question by:Taras
3 Comments
 
LVL 23

Accepted Solution

by:
Eirman earned 250 total points
ID: 40424498
According to page 189 of this online book, you cannot change back
http://books.google.ie/books?id=7SZ5r5F6n9QC&pg=PA189&lpg=PA189&dq=change+from+multi+value+fields+to&source=bl&ots=Ni0y7-inJ0&sig=BVpBJ7KRwRg_XQfdQXdKcxW4j50&hl=en&sa=X&ei=9GJaVJq2J8iP7AaSqIGwDw&ved=0CCwQ6AEwAg#v=onepage&q=change%20from%20multi%20value%20fields%20to&f=false

Multi value fields effectively create many to many relationships using hidden tables.
If you could somehow access the hidden tables (I think there is an option for that) it might be possible interact with them.
0
 
LVL 35

Assisted Solution

by:PatHartman
PatHartman earned 250 total points
ID: 40424740
I can't give you the queries you need but I can outline the procedure.
1. Start with a query that selects all the values of the MVF for all the rows.  Group by the field and change the query to a make table query.  This will make the "lookup" table for you.
2. select all the values for the MVF again and this time include the PK of the parent record.  Change this query to be a make table query.  This will make the junction table for you.

Create relationships and test thoroughly.  Once you are certain that everything works, delete the MVF field from the original table.
0
 

Author Closing Comment

by:Taras
ID: 40484276
Thanks a lot.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question