Page 1 of 1

Named list notes query

Posted: 07 Jun 2020 20:08
by vyh3
I want to create a query that lists all members of a named list together with some other information. How do include the notes that I've entered in the named list in this query? I can't spot them anywhere in the columns and am not aware of a function that returns them. Any clues as to their whereabouts gratefully received.

Re: Named list notes query

Posted: 07 Jun 2020 21:28
by tatewise
Unfortunately, I don't think that is possible.
The only related functions are: =HasNoteInList(%INDI%,"Bookmarks") and =IsInList(%INDI%,"Bookmarks")
But the actual content of any Note in the Named List does not have a Data Reference.

There is Publish > Miscellaenous Reports > List Report that lists the members and the Notes.

Re: Named list notes query

Posted: 07 Jun 2020 21:40
by vyh3
Thanks for highlighting the report, I hadn't noticed that. Better than nothing I suppose.

I'd spotted the HasNoteInList() function, which gave me hope that the actual note could be accessed in some way. It's frustrating have a query that tells me a note exists but I can't actually see what it says. :cry: Never mind.

Re: Named list notes query

Posted: 08 Jun 2020 08:15
by tatewise
Yes, it is a strange anomaly.
In the GEDCOM file itself the data reference would be %HEAD._LIST[9]._IDS[9]._NOTE% where [9] identifies the instances, and _LIST[9] holds each Named List name, and _IDS[9] holds each Record Id.
But internally in FH there is no equivalent. Plugins have the same problem.