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

Draw a family tree?

Posted on 2009-06-27
11
2,483 Views
Last Modified: 2012-05-07
Hi:
See the attachment
tblMembers contain several fields ,
ID, Gen(Member Generation), EmpName, FID(FatherID = point to the ID of the father in the same file) and Sex.
My question is how to draw a family tree from these fields.
The very first generation is always one person only, and the second generation and over, they could be a one person up to seven persons.
I have up to 10 generations.
So, the second generation, each person could have up to seven sons.
The therd generation, each person could have up to seven sons, and so on for all the next generations, up to tenth generation.
Please help.

Ask-How-To-Build-a-Tree.mdb
0
Comment
Question by:Mohammad Alsolaiman
  • 3
  • 3
  • 2
  • +2
11 Comments
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 24729297
0
 

Accepted Solution

by:
Mohammad Alsolaiman earned 0 total points
ID: 24729339
Actually  I have no problem with maintain data inside table
My problem is I need a suitable way to draw this big amount of growing up series of generations
I think about draw a plenty of labels controls , and name it G11, G12, G121, G122, G123 & and so on
And thru a loop may be I can fill in these labels with members names.
can u help with this kind of loop ? please
0
 
LVL 84
ID: 24729467
You could, but why not just use a Treeview control?
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 38

Expert Comment

by:puppydogbuddy
ID: 24729490
See this link for a working example of one way you can do it in ms access:
            http://www.fabalou.com/Access/General/genealogy_example.asp

Hope this helps.
0
 
LVL 38

Expert Comment

by:puppydogbuddy
ID: 24729574
This is your lucky day:
           http://25yearsofprogramming.com/msaccess/famhistmdb.htm

0
 

Author Comment

by:Mohammad Alsolaiman
ID: 24731213
What I really need is to draw a real tree like shape, and fill it with my data.
My program fill in the members data very will in the tables, but now I need to draw the tree please.
0
 

Author Comment

by:Mohammad Alsolaiman
ID: 24731270
watch the photo please
Alhaseenah-Tree.jpg
0
 
LVL 84
ID: 24731508
Access includes some methods to draw basic shapes like Lines, Squares and Circle, but you're looking for something more high-end than this. You'd probably be better off in another environment like .NET that could use your Access data and draw something like this.
0
 
LVL 38

Expert Comment

by:puppydogbuddy
ID: 24731599
Here is something that might help:
This link offers a free download of your Family Tree Chart "form" in pdf format. You can output any access report to pdf.  The only thing I don't know is how the report would be mapped to the pdf form.  That is something you can find out.

            http://www.misbach.org/pdfcharts/
Your Tree chart format is about the third format shown on the web page.

Hope this helps.
0
 
LVL 44

Expert Comment

by:GRayL
ID: 24731887
Why not buy a Family Tree application.  There are lots around.  One thing to be aware of, these apps export and import data using the  Gedcom  format or the like.  To get your Access data into one of these apps which can create a family tree requires that you export to a text file using the Gedcom format - not a trivial undertaking.  
0
 
LVL 44

Expert Comment

by:GRayL
ID: 24731891
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

792 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