Page 1 of 1

Fact Queries

Posted: 12 Sep 2022 19:29
by Little.auk
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.

Re: Fact Queries

Posted: 12 Sep 2022 22:26
by tatewise
Try using the =IsAttribute(%FACT%) and =IsEvent(%FACT%) functions that return true or false.

So you could use =TextIf( IsEvent(%FACT%), "Event", "Attribute" )

Re: Fact Queries

Posted: 13 Sep 2022 10:30
by Little.auk
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