I am modifying a report - slightly but not much, but I can't get things like the Birth date header ie 'Birth' to display anything other than 'B:' - if you look at the normal pedigree chart landscape you will see what I mean - just below the individuals name is says 'B:1st april 1957' or such like.. I would like this to say 'DOB:1st April 1957' or even Birth:1st April 1957' - where is the truncation set? - I can't find it anywhere - …
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well some time has now passed and I have been making changes but what I want to do is print a field only when something has been filled in in it. II have managed this with the date of birth by putting <PGVRText style="text"><PGVRGedcomValue tag="BIRT:DATE" />
<PGVRif condition="@BIRT:DATE!=''"> </PGVRif>
and I wanted to do this with 'IDNO as well so I've tried
<PGVRvar var="factarray" />:<PGVRGedcomValue tag="IDNO" />
<PGVRif condition="@IDNO!=''"> </PGVRif>
But this prints the IDNO title every time even if the IDNo is blank….
Help ? it's another simple thing that's driving me mad…
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am modifying a report - slightly but not much, but I can't get things like the Birth date header ie 'Birth' to display anything other than 'B:' - if you look at the normal pedigree chart landscape you will see what I mean - just below the individuals name is says 'B:1st april 1957' or such like.. I would like this to say 'DOB:1st April 1957' or even Birth:1st April 1957' - where is the truncation set? - I can't find it anywhere - …
naturalp? I just call you Sharon :)
You get the "B" only, when you use :
<PGVRvarLetter var="factarray" />
This prints only the **first** letter of the variable value "Birth". If you want to print the hole word "Birth", just use:
<PGVRvar var="factarray" />
I'm not sure what "DOB" is.
Happy New Year!
-Im
This might also be related to the GEDCOM configuration setting :Abbreviate chart labels"
Is under Display & Layout - Hide & Show.
That's fab, it works a treat -= hope you have a hapy new year as well - thanks for the help!
Well some time has now passed and I have been making changes but what I want to do is print a field only when something has been filled in in it. II have managed this with the date of birth by putting <PGVRText style="text"><PGVRGedcomValue tag="BIRT:DATE" />
<PGVRif condition="@BIRT:DATE!=''"> </PGVRif>
and I wanted to do this with 'IDNO as well so I've tried
<PGVRvar var="factarray" />:<PGVRGedcomValue tag="IDNO" />
<PGVRif condition="@IDNO!=''"> </PGVRif>
But this prints the IDNO title every time even if the IDNo is blank….
Help ? it's another simple thing that's driving me mad…
You should put the <PGVRif … condition in front of the stuff that you want to make conditional. The terminating </PGVRif> stays where it is.
It's always the simplest things.. thanks , of course it worked!