* FactOwner Name formatting in fact based query

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

FactOwner Name formatting in fact based query

Post by Little.auk » 02 Mar 2022 20:07

Can somebody please tell me what I am doing wrong here, I am trying to edit a Factowner name expression to display Surname first with the following expression.

=Field(FactOwner(%FACT%,1,MALES_FIRST),'INDI.NAME:SURNAME_FIRST')

I have added :SURNAME_FIRST to an existing expression, the Query editor is accepting it as a valid expression, but running the query still returns Given Names Surname.

Ideally I would like the surname in capitals, but getting it to display first would be an achievement.
Peter Rollin
Running FH 7.0.20 and AS 7.7.7 64 bit in Windows 11

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

Re: FactOwner Name formatting in fact based query

Post by tatewise » 02 Mar 2022 21:49

Check out FHUG Knowledge Base An Overview of Queries and near the end under Sorting a Fact Query on Owner Surname there are all the answers.

There is an important distinction between the =Field(...) and =FieldText(...) functions.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

Post Reply