function matTAG(eptr)
-- local ptrNOTE = fhNewItemPtr()
local LBL = fhGetTag(eptr)
local NOTE = fhGetItemText(ptr, '~.' ..LBL .. '.NOTE>')
eptr contains 'EVEN-TODO'
ptr contains INDI record
I got to this function knowing this indi does have a TODO
everything else prints correctly, I cannot get the text in NOTE
*NB I have several iterations tried none working
note
note.text
note.text>
I went thru the query to get the data tags, but I still get no text and no errors.
what gets an EVEN-e NOTE
or an ATTR-a NOTE?
* note text from custom event?
note text from custom event?
FH V.6.2.7 Win 10 64 bit
- tatewise
- Megastar
- Posts: 28414
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: note text from custom event?
The .NOTE> data reference represents a link to a separate shared Note record.
The clue is the > which identifies a record to record link.
The local Note for any item is represented by the .NOTE2 data reference.
In the Query you, unfortunately, chose the Note Record> option instead of local Note:-
(BTW: My To Do is an Attribute.)
The clue is the > which identifies a record to record link.
The local Note for any item is represented by the .NOTE2 data reference.
In the Query you, unfortunately, chose the Note Record> option instead of local Note:-
(BTW: My To Do is an Attribute.)
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry