Citations - can't figure out how to get 'Where within Source'
Posted: 08 Oct 2019 09:02
I'm pulling out my hair here.
I have no problem diisplaying 'Where within Source' in a query.
But, apparently, I'm not using the correct reference in the plugin I'm writing.
My function gets a pointer to a fact - pfact, and loops through the citations (sources?) for the fact.
I'm having trouble accessing both 'Where within Source' and the citation 'Note'.
I've tried a number of alternatives; the current one is:
sPage = fhGetItemText(pfact, '~SOUR[1].PAGE') -- is always blank
sNote = fhGetItemText(pfact, '~SOUR[1].NOTE2') -- this gets the note for the Source record
Thanks for your help,
Shosh
I have no problem diisplaying 'Where within Source' in a query.
But, apparently, I'm not using the correct reference in the plugin I'm writing.
My function gets a pointer to a fact - pfact, and loops through the citations (sources?) for the fact.
I'm having trouble accessing both 'Where within Source' and the citation 'Note'.
I've tried a number of alternatives; the current one is:
sPage = fhGetItemText(pfact, '~SOUR[1].PAGE') -- is always blank
sNote = fhGetItemText(pfact, '~SOUR[1].NOTE2') -- this gets the note for the Source record
Thanks for your help,
Shosh