FileRoot() in a Plugin
Posted: 07 Feb 2022 15:49
I'm trying to use
strHowRelated =fhCallBuiltInFunction("Relationship", ptrInd1, ptrInd2, "TEXT")
as per the example in Plugin Help
But instead of ptrInd1 I would like to reference the FileRoot
I tried the obvious:
strHowRelated =fhCallBuiltInFunction("Relationship", FileRoot(), ptrInd2, "TEXT")
Unfortunately it wants a pointer to the File Root person, which is understandable.
I've searched the Plugin Help and this forum but can't find a way of getting a pointer for FileRoot.
Does anyone have any suggestions?
strHowRelated =fhCallBuiltInFunction("Relationship", ptrInd1, ptrInd2, "TEXT")
as per the example in Plugin Help
But instead of ptrInd1 I would like to reference the FileRoot
I tried the obvious:
strHowRelated =fhCallBuiltInFunction("Relationship", FileRoot(), ptrInd2, "TEXT")
Unfortunately it wants a pointer to the File Root person, which is understandable.
I've searched the Plugin Help and this forum but can't find a way of getting a pointer for FileRoot.
Does anyone have any suggestions?