Page 1 of 1
Universal Suppression of ( - ) where No Dates Available
Posted: 10 Jul 2018 17:32
by edmacke
In published reports, when birth and death date are unavailable, a person is formatted as John Smith ( - ).
This request is to add a preference to universally suppress the display of empty date reference "( - )" so that anywhere and everywhere that "John Smith ( - )" is displayed the preference would cause it to be displayed as simply "John Smith"
Re: Universal Suppression of ( - ) where No Dates Available
Posted: 12 Jul 2018 10:02
by Peter Collier
That would be a definite improvement.
As an alternative, if it cannot be surpressed entirely, it would be better displayed as (? - ?). I would extend this to scenarios where one date was missing too - for example (? - 1820) or (1688 - ?). For missing death dates, the "?" should appear only when there is an undated death event.
Re: Universal Suppression of ( - ) where No Dates Available
Posted: 12 Jul 2018 11:50
by tatewise
To get a clear understanding of this new requirement, the details of the existing feature need to be considered.
There are two
Functions involved:
=LifeDates(...) and
=LifeDates2(...) so see the
Help for details.
They are identical except that
=LifeDates2(...) will return space hyphen space where
=LifeDates(...) would return nothing.
Neither
Function currently displays parentheses
( ). They are added separately as explicit characters.
Remember that they don't just display
Birth and
Death dates, but will use
Baptism,
Christening &/or
Burial (but NOT
Cremation) dates, and even
estimated Birth or
Death dates (that do include
Cremation dates).
- Thus the first enhancement would be to include Cremation events similarly to Burial events.
- The request for a ? when there is an undated Birth or Death event, must be clarified regarding undated Baptism, Christening, Burial & Cremation events.
- The request to suppress ( - ) and also () is necessary because they appear in some scenarios that cannot be customised at all (e.g. Report Index) or are difficult to customise (e.g. Report Items: Parents, Spouses, Children). Those unconditionally use (=LifeDates2(%INDI%,STD)) and the Dates with Names options allow that to be unconditionally suppressed (Narrative Reports do not even have that option for Dates with Names in the narrative text). Since the parentheses ( ) are outside the control of the two Functions the suppression option needs to be elsewhere.
Alternatively, instead of the Dates with Names options, get the Options dialogue to display the Expression used by the feature and allow it to be customised so (=LifeDates2()) can be replaced with say =CombineText("(",LifeDates(),")",). That would not only suppress ( - ) but also allow other formats & details such as Custom Id to be added after each name, so it matched the Format tab Record setting. See How To Suppress '( - )' in Reports (16054).
Re: Universal Suppression of ( - ) where No Dates Available
Posted: 23 Jul 2021 13:44
by tatewise
Since nobody has responded to clarify points 1. to 3. there seems little interest in this request so it can be parked.
Re: Universal Suppression of ( - ) where No Dates Available
Posted: 23 Jul 2021 13:50
by ColeValleyGirl
Mike, I thought you'd clarified the requirement well and felt no need to add anything.
Re: Universal Suppression of ( - ) where No Dates Available
Posted: 23 Jul 2021 13:58
by tatewise
Point 2. has a 'must be clarified' outstanding.
Point 3. has two alternative approaches.
Neither of the original two requesters offered any feedback.
Re: Universal Suppression of ( - ) where No Dates Available
Posted: 23 Jul 2021 14:37
by ColeValleyGirl
No 2. I suggest a ? should be displayed if the two functions would otherwise display blank.
No 3. I suggest specifying an outcome (requirement) not an implementation. The outcome of both alternatives is the same?
Re: Universal Suppression of ( - ) where No Dates Available
Posted: 23 Jul 2021 14:53
by AdrianBruce
FWIW, it's not something I'd wish to use - I'm a great believer in making "null" values explicit in order to clarify what's going on.
To me, John Smith ( - ) makes it clear that there are no "birth" or "death" dates (or approximations thereto) known. Whereas just John Smith says nothing about such dates - they might be unknown - or they might be known but simply omitted from this bit of the report (or whatever) - it's ambiguous and would never be clarified.
Replacing ( - ) by (? - ?) I wouldn't have any issue with.
Re: Universal Suppression of ( - ) where No Dates Available
Posted: 23 Jul 2021 15:43
by ColeValleyGirl
Like Adrian, I'd prefer the ? approach, but if were doing a wish list item, think we should include the blanks approach as well.
Re: Universal Suppression of ( - ) where No Dates Available
Posted: 24 Jul 2021 11:40
by tatewise