* Data refence for a custom source template field

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
evinther
Platinum
Posts: 43
Joined: 15 Feb 2009 09:43
Family Historian: V7
Location: Denmark
Contact:

Data refence for a custom source template field

Post by evinther » 22 Sep 2022 05:36

Hello,

In all my custom source templates i have a 'flags' field. This was a later addition to my source templates with the result that the flags field number (indeks) varies from template to template.

Initally not a problem, but now i want to add a 'flags' column to my Source Records list view. Had the flags field been e.g. no. 1 in all my templates the date reference expression would simply be %SOUR._FIELD[1]%, but it's not. I could modify all my source templates to have the flags field at the same index, but I'd rather not.

Any help is appreciated.

Thanks
Erik

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

Re: Data refence for a custom source template field

Post by ColeValleyGirl » 22 Sep 2022 08:41

https://www.family-historian.co.uk/help ... metafields explains how to access them by name.

avatar
evinther
Platinum
Posts: 43
Joined: 15 Feb 2009 09:43
Family Historian: V7
Location: Denmark
Contact:

Re: Data refence for a custom source template field

Post by evinther » 22 Sep 2022 08:58

Ahaaa ... magic !

Thanks Helen

Post Reply