Solved

How to export one to many relationships in excel

Posted on 2013-12-12
3
1,325 Views
Last Modified: 2013-12-31
I have a table that I need to export that has a one to many relationship. Mainly notes

has anybody ever done anything like that? how to export in excel from 2 tables that have a one to many relationship?

thanks,
Vinnie
0
Comment
Question by:damixa
[X]
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
3 Comments
 
LVL 17

Expert Comment

by:andrewssd3
ID: 39715265
I think you'll need to give us a bit more information - are you looking to export access data using a join query into Excel? If so, what format are you expecting in Excel?  If you can give an idea of the data in the tables, and what output you expect, it will be easier to help
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 39715410
create a query that joins the two tables, export the query to excel.

if your tables consists of memo fields, you have to open the query as recordset and export the result to excel using vba..

post back if you need more help.
0
 
LVL 37

Accepted Solution

by:
PatHartman earned 500 total points
ID: 39716946
What will the Excel workbook be used for?  If it is a report, you can write some code to export the many-side to additional columns rather than rows.  But if the workbook will be imported into another application, you either need to leave off the many-side data entirely or simply export the joined records which appear to "duplicate" whenever there is more than one many-side record.

If you are exporting to another application, you should also look into using XML which lets you export hierarchical data without "duplication".  But of course the target app needs to be able to accept XML for that solution to work.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

739 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