Search found 150 matches

by quarlton
10 Aug 2023 11:21
Forum: General Usage
Topic: Query - look for text in Note
Replies: 2
Views: 119

Re: Query - look for text in Note

As usual Many Thanks Mike.

I haven't come across =GetLabelledText() before, or if I had I didn't appreciate what it did.
by quarlton
10 Aug 2023 11:04
Forum: General Usage
Topic: Query - look for text in Note
Replies: 2
Views: 119

Query - look for text in Note

As usual I think I am asking for the impossible or something near it. I'm trying to write a query that looks at %INDI.NOTE2[1]% There will always be a line in that note somewhere in it that looks like:- CENSUSES: (c1847-1924) (where the values in brackets are there person's life dates) Don't ask why...
by quarlton
08 Aug 2023 20:00
Forum: Plugin Technical Support & Development
Topic: Handling Fact Flags in a plugin
Replies: 5
Views: 217

Re: Handling Fact Flags in a plugin

Hi Mike

Thanks for that, it works a treat

Code: Select all

--Create a Flag tag on the BIRT
--ptrFlag2 is a pointer to the BIRT event
local ptrFlagNew = fhCreateItem("_FLGS", ptrFlag2)          -- This creates the tag
local ptrFlagNew2 = fhCreateItem("__PREFERRED", ptrFlagNew) -- This sets the value
Regards
by quarlton
08 Aug 2023 16:53
Forum: Plugin Technical Support & Development
Topic: Handling Fact Flags in a plugin
Replies: 5
Views: 217

Re: Handling Fact Flags in a plugin

Thanks for that Mike.

Unfortunately I haven't managed to find the correct syntax for setting the value for the tag.

I'll persevere and see what I can come up with.
by quarlton
08 Aug 2023 15:14
Forum: Plugin Technical Support & Development
Topic: Handling Fact Flags in a plugin
Replies: 5
Views: 217

Handling Fact Flags in a plugin

I'm writing a plugin to set the 'Preferred' flag on all BIRT events. [This relates to https://groups.io/g/family-historian/message/7112 - Highlight or Colour Facts on the property box] Following Mike's code above I can check if the flag already exists, so skip to next INDI. I can create the tag OK, ...
by quarlton
13 Apr 2023 15:12
Forum: Plugin Technical Support & Development
Topic: Export Gedcom v5.3 - Crashes
Replies: 4
Views: 570

Re: Export Gedcom v5.3 - Crashes

Many thanks Mike,
I'll get her to download it.

Dave
by quarlton
12 Apr 2023 18:15
Forum: Plugin Technical Support & Development
Topic: Export Gedcom v5.3 - Crashes
Replies: 4
Views: 570

Re: Export Gedcom v5.3 - Crashes

Hi Mike

Many thanks.
by quarlton
12 Apr 2023 15:56
Forum: Plugin Technical Support & Development
Topic: Export Gedcom v5.3 - Crashes
Replies: 4
Views: 570

Export Gedcom v5.3 - Crashes

Hi I'm writing on behalf of a friend. She has just upgraded from v5.2 to v5.3 Using v5.2 it ran fine, but v5.3 gives the error message shown below OS: Windows 10 Pro FH: v6.2 ExportGed.png I personally can run v5.3 on Windows 11, using the same gedcom and get no problems. Any suggestion would be muc...
by quarlton
24 Nov 2022 12:46
Forum: Plugin Technical Support & Development
Topic: Export Gedcom - TNG - BAPM v CHR
Replies: 6
Views: 1233

Re: Export Gedcom - TNG - BAPM v CHR

Thanks for the update Mike, much appreciated.
by quarlton
27 Aug 2022 14:24
Forum: Plugin Technical Support & Development
Topic: Change Any Fact Tag - Error being generated
Replies: 4
Views: 567

Re: Change Any Fact Tag - Error being generated

Hi Mike Problem solved. What she had done was make a copy of the project but instead of putting it within Family Historian Projects, she managed to get in within the original project folder - hence the long path. Scrapped the copy, made a copy of the project in the correct place and everything worke...
by quarlton
27 Aug 2022 12:17
Forum: Plugin Technical Support & Development
Topic: Change Any Fact Tag - Error being generated
Replies: 4
Views: 567

Re: Change Any Fact Tag - Error being generated

Hi Mike

Many thanks for that info.
Unfortunately my friend is out at present, but I will get her to shorten the path and see how it goes then.
It would certainly explain why it works on my machine and not hers.

Dave
by quarlton
26 Aug 2022 16:01
Forum: Plugin Technical Support & Development
Topic: Change Any Fact Tag - Error being generated
Replies: 4
Views: 567

Change Any Fact Tag - Error being generated

Hi A friend of mine is having an issue trying to change Baptisms to Christenings FH 6 Plugin 3.6 I ran the plug in 'Change any Fact Tag' to change my baptisms to christenings and the following error came up [string "C:\ProgramData\Calico Pie\Family Historian\..."]:634: Unable to open file in "ab" mo...
by quarlton
27 Jun 2022 21:35
Forum: Plugin Technical Support & Development
Topic: Get Year from event when contains BEF, AFT etc
Replies: 2
Views: 764

Re: Get Year from event when contains BEF, AFT etc

Hi Mike


Many thanks, that works (obviously).

I will need to do the reading as you suggest to work out just what is going on.

Dave
by quarlton
27 Jun 2022 16:46
Forum: Plugin Technical Support & Development
Topic: Get Year from event when contains BEF, AFT etc
Replies: 2
Views: 764

Get Year from event when contains BEF, AFT etc

Hi I'm trying to get a person's year of birth. My first attempt works as long as the date just contains a number, but fails (understandably) if it contains Bef or Aft etc. pi - pointer to an INDI record What I want get is Year part of their BIRT date This works fine as long as YEAR is just a number ...
by quarlton
15 May 2022 19:05
Forum: General Usage
Topic: Extending FACTOWNER in query
Replies: 2
Views: 526

Re: Extending FACTOWNER in query

So near, and yet so far 😀

Many thanks Mike
by quarlton
15 May 2022 14:35
Forum: General Usage
Topic: Extending FACTOWNER in query
Replies: 2
Views: 526

Extending FACTOWNER in query

I'm trying to find all people who: Had an event in the USA Straight forward - Fact query Exclude unless %FACT.PLAC>% ends with USA Twist in the tail is that I need to identify only those whose surname was Yoxall at any point. No problem for those born as Yoxall: Just filter query by =FieldText(FactO...
by quarlton
08 May 2022 16:02
Forum: General Usage
Topic: Malformed addresses
Replies: 5
Views: 768

Re: Malformed addresses

Thanks Mike,

That works a treat (why am I not surprised).

I always struggle with LUA/GREP pattern matching for anything beyond the basic.
by quarlton
08 May 2022 14:21
Forum: General Usage
Topic: Malformed addresses
Replies: 5
Views: 768

Re: Malformed addresses

Thanks to DavidF and Mike

Managed to do a good chunk of it without too much effort.

Is there an 'append' option at all?
Ideally I would like to add 'England' on to the end.

If this results in some 'England, England' that's easy to fix.

Thanks again
by quarlton
08 May 2022 11:09
Forum: General Usage
Topic: Malformed addresses
Replies: 5
Views: 768

Malformed addresses

I have a friend who has entered addresses without comma separators. All entries are in the Place field e.g. 31 Charles Street Cheadle Cheshire England I could easily add a comma before each space, unfortunately this fails with the street part. 31, Charles, Street, Cheadle, Cheshire, England Does any...
by quarlton
03 May 2022 11:21
Forum: Plugin Technical Support & Development
Topic: Export Gedcom - TNG - BAPM v CHR
Replies: 6
Views: 1233

Re: Export Gedcom - TNG - BAPM v CHR

Mike

Thank you very much for the response.
I must say that I had not noticed the Undo option before.
by quarlton
03 May 2022 09:43
Forum: Plugin Technical Support & Development
Topic: Export Gedcom - TNG - BAPM v CHR
Replies: 6
Views: 1233

Re: Export Gedcom - TNG - BAPM v CHR

Thanks for the suggestion Colin, unfortunately the user isn't really up to that.
by quarlton
03 May 2022 08:02
Forum: Plugin Technical Support & Development
Topic: Export Gedcom - TNG - BAPM v CHR
Replies: 6
Views: 1233

Export Gedcom - TNG - BAPM v CHR

Hi It's just been pointed out to me that if a person has no birth but does have a baptism, TNG doesn't display this in search results. TNGSearchResults.png TNG will only display the date if it is a CHR. I've spoken to Darrin Lythgoe and apparently it's on his wish list. Not wanting to change my FH d...
by quarlton
07 Feb 2022 16:22
Forum: Plugin Technical Support & Development
Topic: FileRoot() in a Plugin
Replies: 2
Views: 616

Re: FileRoot() in a Plugin

Thanks Mike,

I hadn't picked up that you could use FileRoot() as a function in its own right. The examples all tend to show as part of another function.

As usual your example worked a treat.

Cheers
by quarlton
07 Feb 2022 15:49
Forum: Plugin Technical Support & Development
Topic: FileRoot() in a Plugin
Replies: 2
Views: 616

FileRoot() in a Plugin

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") Unf...
by quarlton
06 Feb 2022 10:53
Forum: General Usage
Topic: Customising Individual Property Box
Replies: 8
Views: 1089

Re: Customising Individual Property Box

Thanks for the clarification Mike.