* need to refresh/exit FH to update ALL session changes

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
User avatar
jimlad68
Megastar
Posts: 921
Joined: 18 May 2014 21:01
Family Historian: V7
Location: Sheffield, Yorkshire, UK (but from Lancashire)
Contact:

need to refresh/exit FH to update ALL session changes

Post by jimlad68 »

I'm sure I have read about something similar before, but can't find it now. In that certain changes do not get fully updated/ cleaned up until the program has been exited and reopened.

e.g. I have a diagram text scheme that includes various ADDRess queries including:
=NotExistsText(%INDI.DEAT.ADDR%,%INDI.DEAT.PLAC%)

If I delete an ADDRess, the above does not work, if I exit the program and restart it, it does.

This of course makes testing confusing and, once you realise the problem, time consuming exiting and restarting FH and in the process losing the current workspace.

So, is there a quick way to refresh, rather than exiting and restarting FH?

Is there a list of items that need this exit/refresh.
Jim Orrell - researching: see - but probably out of date https://gw.geneanet.org/jimlad68
User avatar
tatewise
Megastar
Posts: 28410
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: need to refresh/exit FH to update ALL session changes

Post by tatewise »

Yes, the trick is to use the All tab instead of the Facts tab.

If you delete an Address or a Date from the Facts tab then an empty field still lingers until FH is restarted.
Open the All tab and you will see it there with an empty value.

Find the same field for the correct Fact in the All tab and delete it there, then it is gone completely.
Click the [+] to expand the desired Fact to reveal its Date and Address, etc.
Select the name of the field on the left, NOT its value on the right, and hit the Delete key.

I am not aware of a list of such items, but using the All tab is the workaround.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
User avatar
jimlad68
Megastar
Posts: 921
Joined: 18 May 2014 21:01
Family Historian: V7
Location: Sheffield, Yorkshire, UK (but from Lancashire)
Contact:

Re: need to refresh/exit FH to update ALL session changes

Post by jimlad68 »

Thanks Mike, a "nice to know". Is it a bug, or just the way it works!

I would imagine it may do the same anywhere that a field is "emptied", Not a major issue now I know.

I don't know if it is possible, but I cannot think of any other logic for an "empty" field as opposed to a "non existent" field. The "NotExistsText" suggests it should work in both situations.
Jim Orrell - researching: see - but probably out of date https://gw.geneanet.org/jimlad68
User avatar
tatewise
Megastar
Posts: 28410
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: need to refresh/exit FH to update ALL session changes

Post by tatewise »

Not sure whether it is a bug or deliberate.
If you are deleting the value to replace it with another value then it saves having to recreate the field.

The NotExists part of NotExistsText is testing if the field exists (even though empty).
The Text part is saying add this text when NotExists is true.

Let us call it a 'feature' of FH.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
User avatar
jimlad68
Megastar
Posts: 921
Joined: 18 May 2014 21:01
Family Historian: V7
Location: Sheffield, Yorkshire, UK (but from Lancashire)
Contact:

Re: need to refresh/exit FH to update ALL session changes

Post by jimlad68 »

I've raised a ticket, if not a feature, it might be a simple fix, or creation of something similar to "reorder out of sequence data"
Jim Orrell - researching: see - but probably out of date https://gw.geneanet.org/jimlad68
User avatar
jimlad68
Megastar
Posts: 921
Joined: 18 May 2014 21:01
Family Historian: V7
Location: Sheffield, Yorkshire, UK (but from Lancashire)
Contact:

Re: need to refresh/exit FH to update ALL session changes

Post by jimlad68 »

I got a nice reply from FH support,
"There are complex reasons of efficiency why Family Historian works this way with the Property box. If this is something you do regularly we recommend you use the All tab which does delete fields, or write a plugin to clean empty Address fields."

They also suggested looking at "IsEmpty" which works a treat e.g.
=TextIf(IsEmpty(%INDI.DEAT.ADDR%),%INDI.DEAT.PLAC%,)

so I will amend any other similar situations.
Jim Orrell - researching: see - but probably out of date https://gw.geneanet.org/jimlad68
Post Reply