* Fact Queries

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
Post Reply
avatar
Little.auk
Famous
Posts: 224
Joined: 23 Jul 2021 08:51
Family Historian: V7
Location: Tamworth, Staffordshire, UK

Fact Queries

Post by Little.auk » 12 Sep 2022 19:29

In a query Is there a way of displaying the Fact Type (i.e. whether an Event or an Attribute).

I can find functions for =FactLabel(), =FactSet() and =FactOwner(), but nothing for Fact Type.
Peter Rollin
Running FH 7.0.20 and AS 7.7.7 64 bit in Windows 11

User avatar
tatewise
Megastar
Posts: 27078
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Fact Queries

Post by tatewise » 12 Sep 2022 22:26

Try using the =IsAttribute(%FACT%) and =IsEvent(%FACT%) functions that return true or false.

So you could use =TextIf( IsEvent(%FACT%), "Event", "Attribute" )
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
Little.auk
Famous
Posts: 224
Joined: 23 Jul 2021 08:51
Family Historian: V7
Location: Tamworth, Staffordshire, UK

Re: Fact Queries

Post by Little.auk » 13 Sep 2022 10:30

Thanks Mike,

Just what I wanted - I had new glasses just three weeks ago, so I have no excuse for missing those in the "All Functions" Listing
Peter Rollin
Running FH 7.0.20 and AS 7.7.7 64 bit in Windows 11

Post Reply