Legacy tip: special codes to customize your report titles
February 23, 2009
Question from a Legacy user,
I love your reports, but have a question about the title at the top of the page for each report. When I print a Family Group Record, the title is:
Family Group Record for John Smith
Since John Smith could have married more than once, I would rather have the title read:
Family Group Record for John Smith and Sally Jones
Is this possible?
Answer from Millennia:
Yes, this is certainly possible. The title of the Family Group Record, as well as any other report, can be customized to your liking. The image below shows the Family Group Record screen (Reports icon > Family tab). Notice at the end of the title is the [FullName] code. This is there by default. You do not need to touch this unless you want to customize the title.
You could replace the code with the actual names of the couple that you want to display in title. I would not recommend this however, because when you go to print a Family Group Record for a different family, the same couple name will still be there. Rather, just add the [CoupleNames] code and preview/print the report.
When the title is entered this way...
Family Group Record for [CoupleNames]
...it appears like this at the top of the report:
Family Group Record for John Smith and Sally Jones
I personally like to also include each person's lifespan next to their name:
Family Group Record for [CoupleNames, Lifespan]
Using these codes, the title will appear like this:
Family Group Record for John Smith (1850-1923) and Sally Jones (1852-1931)
The great thing about using these kind of codes in the title field is that the next time you create the same report, the title will retain your customization, so you'll always get a title you like.
Of course, using these codes is completely optional, and if you are a beginner, you might just want to leave everything how it is. But for those who like a little more flexibility, Legacy has a whole list of codes you can embed in the title field. They are listed in Legacy's help file, but we will republish them here for your convenience:
[Fullname] - The name of the current individual in given name-surname order. Use for individual type reports.
[Name] - Same as Fullname
[Firstname] - The first given name of the current individual or the quoted name if the Use Quoted Name option is selected.
[Givennames] - The given names of the current individual.
[Surname] - The surname of the current individual.
[HisHer] - "his" or "her" depending on the gender of the current individual.
[~HisHer] - "His" or "Her" depending on the gender of the current individual.
[HisHers] - "his" or "hers" depending on the gender of the current individual.
[~HisHers] - "His" or "Hers" depending on the gender of the current individual.
[Lifespan] - The life span years for the current individual. For example: (1812-1963)
[HLifespan] - The life span years for the current husband.
[WLifespan] - The life span years for the current wife.
[CR] - Inserts a carriage return in the title to assure it prints on multiple lines.
Use the following fields when doing marriage-type reports.
[HusbFullname] - The name of the husband in given name-surname order. Use for marriage type reports. For example: John A. Berdan
[HusbSurname] - The surname of the husband.
[HusbGivenNames] - The given names of the husband.
[HusbFirstName] - The first word in the Given Names field of the husband.
[HusbSurname, Given] - The husband's name in Surname, Given order.
[HusbPrefix] - The title prefix for the husband.
[HusbSuffix] - The title suffix for the husband.
[HusbRIN] - The record ID number for the husband. For example: -173
[HLifespan] - The life span years for the current husband.
[HusbUID] - The User ID# for the husband.
[WifeFullname] - The name of the wife in given name-surname order.
[WifeSurname] - The surname of the wife.
[WifeGivenNames] - The given names of the wife.
[WifeFirstName] - The first word in the Given Names field of the wife.
[WifeSurname, Given] - The wife's name in Surname, Given order.
[WifePrefix] - The title prefix for the wife.
[WifeSuffix] - The title suffix for the wife.
[WifeRIN] - The record ID number for the wife. For example: -173
[WLifespan] - The life span years for the current wife.
[WifeUID] - The User ID# for the wife.
[MRIN] - The record ID number for the marriage.
[CoupleNames] - The husband and wife names together. For example: Albert Berdan and Susannah Secord.
[CoupleNames, Lifespan] - The husband and wife names together with their life span years after each name. For example: Albert Berdan (1753-1818) and Susannah Secord (1759- ).
[GenNumber] - The generation number when printing Ancestor or Descendant reports. For example: Descendants of [Fullname][CR]Generation: [GenNumber]
Happy report title customizing!