Menu

Report text truncated

Help
2009-12-31
2013-05-30
  • Sharon Packer

    Sharon Packer - 2009-12-31

    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 - …

     
  • Im

    Im - 2009-12-31

    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

     
  • Anonymous

    Anonymous - 2009-12-31

    This might also be related to the GEDCOM configuration setting :Abbreviate chart labels"

    Is under Display & Layout - Hide & Show.

     
  • Sharon Packer

    Sharon Packer - 2010-01-01

    That's fab, it works a treat -= hope you have a hapy new year as well - thanks for the help!

     
  • Sharon Packer

    Sharon Packer - 2010-02-28

    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…

     
  • Gerry Kroll

    Gerry Kroll - 2010-02-28

    You should put the <PGVRif … condition in front of the stuff that you want to make conditional.  The terminating </PGVRif> stays where it is.

     
  • Sharon Packer

    Sharon Packer - 2010-03-01

    It's always the simplest things.. thanks  , of course it worked!

     

Log in to post a comment.