From: Alex R. <sh...@al...> - 2004-09-27 15:18:07
|
Doug, On 09/27/2004 06:56:09 AM, Doug Laidlaw wrote: > My Gramps database is a main limb of my family tree cut from my overall t= ree=20 > with myself as Individual No. 1. For my purposes, I would like to make t= he=20 > first person on this limb to arrive in Australia (He isn't the first=20 > generation in that line) to become No. 1. Does Gramps have a convenient = way=20 > of effecting this? I realize that it isn't just a matter of exchanging h= is=20 > ID and mine. When you say "No. 1", what exactly do you mean? I can see two possible answers, and answering your question depends on which one is it: 1. "No 1" is the Home person -- a person who is selected when the database is opened, and who is selected when the Home button is pressed on the toolbar or when Home is selected from the context menu anywhere. A Home person can be set from Edit->Set Home person, no matter what the ID is. 2. "No 1" is th one with the smallest ID or with the ID "P01" or "P0001". Changing IDs is tricky, because all the references are done through the IDs. If you just swap his and yours IDs by hand, you will see that y= our spouse is shown as his, as well as the children, and a lot of other thin= gs. If you are swapping IDs by hand (e.g. "P1" and "P2"), then you need to carefully switch all other occurrences of P1 to P2 and vice versa in the XML file. YOU NEED TO DO THAT in the XML file by hand, as there's no way to do it using GUI from GRAMPS. If you want to do that, you may need to uncompress your data first if it is compressed ($ gunzip -c data.gramps > data.xml) and edit the xml file, and then compress it ($ gzip -c data.xml > data.gramps). Hope this helps, Alex --=20 Alexander Roitman http://ebner.neuroscience.umn.edu/people/alex.html Dept. of Neuroscience, Lions Research Building 2001 6th Street SE, Minneapolis, MN 55455 Tel (612) 625-7566 FAX (612) 626-9201 |