* Source Template/Source fields - Source Records Window

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
phillip_leslie
Gold
Posts: 21
Joined: 30 Jun 2022 07:49
Family Historian: V7
Location: Huddersfield, West Yorkshire, UK

Source Template/Source fields - Source Records Window

Post by phillip_leslie » 10 Dec 2022 17:29

I have a customer source template for census with 7 fields, field-3 is Date of data type "Date". I capture this information for each source record, and would like to add this field as a column in the source record window. I have tried all the permutations that I can think of with no success. Can anyone advise how to add this field as a column?
Capture.JPG
Capture.JPG (407.06 KiB) Viewed 340 times

User avatar
ColeValleyGirl
Megastar
Posts: 4854
Joined: 28 Dec 2005 22:02
Family Historian: V7
Location: Cirencester, Gloucestershire
Contact:

Re: Source Template/Source fields - Source Records Window

Post by ColeValleyGirl » 10 Dec 2022 17:32

See the Help

Scroll down to DATA REFERENCES AND METAFIELDS

User avatar
phillip_leslie
Gold
Posts: 21
Joined: 30 Jun 2022 07:49
Family Historian: V7
Location: Huddersfield, West Yorkshire, UK

Re: Source Template/Source fields - Source Records Window

Post by phillip_leslie » 11 Dec 2022 08:17

So the answer to my problem was to use %SOUR._FIELD[3]%. Many thanks Helen.

User avatar
ColeValleyGirl
Megastar
Posts: 4854
Joined: 28 Dec 2005 22:02
Family Historian: V7
Location: Cirencester, Gloucestershire
Contact:

Re: Source Template/Source fields - Source Records Window

Post by ColeValleyGirl » 11 Dec 2022 08:27

Or %SOUR.~DT-DATE%

User avatar
phillip_leslie
Gold
Posts: 21
Joined: 30 Jun 2022 07:49
Family Historian: V7
Location: Huddersfield, West Yorkshire, UK

Re: Source Template/Source fields - Source Records Window

Post by phillip_leslie » 11 Dec 2022 09:03

Ah, which is a much better solution and delivers a consistent result across all source template types, where there is a field in the template defined as a date "~DT-" and called "Date".

I have just discovered that %SOUR._FIELD[3]% appears to be relative to those fields which contain data in the source and not the template.

As some of my sources did not have any data in my field-2 for Household, but did contain data in field-3 for Date; %SOUR._FIELD[3]% for those records returns a blank and the Date confusingly appears in %SOUR._FIELD[2]%

Post Reply