Search found 15196 matches

by tatewise
19 Jun 2019 16:45
Forum: Plugin Discussions
Topic: New Multifact plugin
Replies: 82
Views: 2797

Re: New Multifact plugin

Yes, I meant X in circle icon with tooltip Remove file.

Latest attachment has syntax error at line 80 and 91 and several others including missing fhloadrequire
if GetHelpFile() = true then
should be
if GetHelpFile() == true then
by tatewise
19 Jun 2019 15:26
Forum: Plugin Discussions
Topic: New Multifact plugin
Replies: 82
Views: 2797

Re: New Multifact plugin

Helen, you must be having a bad day. Your attachment has the wrong filetype - should be .fh_lua In Plugin Store, I assume you have chosen My Plugins top right and logged in OK. Multifact should be listed on left with Edit & Delete buttons. In Edit Plugin dialogue delete existing File using Remov...
by tatewise
19 Jun 2019 14:36
Forum: Plugin Discussions
Topic: New Multifact plugin
Replies: 82
Views: 2797

Re: New Multifact plugin

I've just tried V1.4 from the Plugin Store, and found like PyreneesPirate that the dialogue is too tall, and cannot be resized to be any shorter. It can be resized in width. When any of the four options are expanded/collapsed the dialogue size needs to be auto-adjusted using such as: iupDialog.Size ...
by tatewise
19 Jun 2019 11:53
Forum: Plugin Discussions
Topic: New Multifact plugin
Replies: 82
Views: 2797

Re: New Multifact plugin

You can resize the Plugin window by dragging its edges, just like any other window. The black triangles on the left against Citation , Fact details , & Activity log , expand and contract those sections. Hover the cursor over the various buttons & boxes, and there are popup tooltips that help...
by tatewise
19 Jun 2019 08:51
Forum: General
Topic: RootsTech London
Replies: 2
Views: 327

Re: RootsTech London

by tatewise
19 Jun 2019 08:41
Forum: Plugin Discussions
Topic: table lookups (when we was fab) or memoization (gangnam style)
Replies: 17
Views: 424

Re: table lookups (when we was fab) or memoization (gangnam style)

Another important point I forgot to mention is that fhGetContextInfo('CI_APP_DATA_FOLDER') is portable. If you ever offered your Plugins to other users, the path on their PC may be different to the path on your PC. So if you hard code the path in your Plugins then they may not work on another PC. Wh...
by tatewise
18 Jun 2019 20:33
Forum: Research
Topic: Workhouses and Census's
Replies: 5
Views: 134

Re: Workhouses and Census's

Since you have the street, have you tried the Census Address search that is available in FMP and probably Ancestry too?
by tatewise
18 Jun 2019 20:28
Forum: Plugin Discussions
Topic: table lookups (when we was fab) or memoization (gangnam style)
Replies: 17
Views: 424

Re: table lookups (when we was fab) or memoization (gangnam style)

The path is only built once per Plugin usage, and is very quick compared to the save and load functions. So it seems unnecessary to have that meta data, which has to be loaded and saved time after time. Also the load function must be more complex to cope with the meta data, particularly the first ti...
by tatewise
18 Jun 2019 09:26
Forum: Plugin Discussions
Topic: table lookups (when we was fab) or memoization (gangnam style)
Replies: 17
Views: 424

Re: table lookups (when we was fab) or memoization (gangnam style)

Probably, yes. But you need to provide some valid table definition syntax and examples of usage. Your tableall example has a crazy mix of { } ( ) unmatched brackets, so I don't understand. You know what you want to do, but without examples I don't understand what you want. e.g. How is memoization su...
by tatewise
17 Jun 2019 21:57
Forum: Plugin Discussions
Topic: table lookups (when we was fab) or memoization (gangnam style)
Replies: 17
Views: 424

Re: table lookups (when we was fab) or memoization (gangnam style)

If you are prepared to work with a table of tables, then there is a possible solution. In different Plugins the tblAll table of tables can use different tables as long as the names match the files. tblAll = { tblRTL = { }; tblABC = { }; tblXYZ = { }; } function rtvProjectTBL(name) local Folder = fhG...
by tatewise
17 Jun 2019 19:24
Forum: Plugin Discussions
Topic: table lookups (when we was fab) or memoization (gangnam style)
Replies: 17
Views: 424

Re: table lookups (when we was fab) or memoization (gangnam style)

I don't think there is any such magic. The easiest solution is to simply define a string variable at the same point you define the original variable: tblRLT = { } strRLT = 'tblRLT' Assuming you only want it to work for tables, and never need to use index 0, then another trick is: tblRLT = { } tblRLT...
by tatewise
17 Jun 2019 09:41
Forum: Plugin Discussions
Topic: table lookups (when we was fab) or memoization (gangnam style)
Replies: 17
Views: 424

Re: table lookups (when we was fab) or memoization (gangnam style)

Ron, you are way beyond debugging such trivial errors. What is the parameter table that you are saving? It should be the table tblRLT but you are supplying the string 'tblRLT' :!: I strongly advise that you do NOT save in C:\ProgramData\Calico Pie\Family Historian\ Instead use C:\ProgramData\Calico ...
by tatewise
16 Jun 2019 20:58
Forum: Plugin Discussions
Topic: table lookups (when we was fab) or memoization (gangnam style)
Replies: 17
Views: 424

Re: table lookups (when we was fab) or memoization (gangnam style)

No, it is in no particular order, and you cannot influence the order. The order that the index entries are created is not preserved. So for k,v in pairs (tblRTL) do will not traverse in the same order as the index entries were created. Just use the table lookup as it is. It is a standard associative...
by tatewise
16 Jun 2019 19:10
Forum: Plugin Discussions
Topic: table lookups (when we was fab) or memoization (gangnam style)
Replies: 17
Views: 424

Re: table lookups (when we was fab) or memoization (gangnam style)

You are making it far too complicated. Yes, only three data items are involved. tblRLT is the translation table. fhrlt is the original FH relationship provided by fhCallBuiltInFunction('Relationship', ptrRoot, iptr, 'TEXT', ix) swrlt is the translated relationship you require. So fhrlt is the table ...
by tatewise
16 Jun 2019 12:48
Forum: General Usage
Topic: Cause of death
Replies: 2
Views: 211

Re: Cause of death

You can produce that information with a Query . Start with View > Standard Queries > Age at Death (all) that lists everyone with an Age at Death. Use the cog menu Save As Custom Query and give it a new Query Name . Then on the Column tab, add Death Place and Death Cause by selecting from Fields on l...
by tatewise
16 Jun 2019 10:31
Forum: Plugin Discussions
Topic: table lookups (when we was fab) or memoization (gangnam style)
Replies: 17
Views: 424

Re: table lookups (when we was fab) or memoization (gangnam style)

I guess the idea is to take the table building offline, like you have done for other speed improvements. So you can use the tablex modules for loading and saving as you say. The function matRLT needs to be modified to check and update the table tblRLT . local rel = fhCallBuiltInFunction('Relationshi...
by tatewise
14 Jun 2019 13:55
Forum: General Usage
Topic: Merging Source Records
Replies: 3
Views: 311

Re: Merging Source Records

I have moved this to the FH General Usage Forum as the General Forum is inappropriate for FH questions.
by tatewise
14 Jun 2019 09:25
Forum: Plugin Discussions
Topic: any unintended consequences?
Replies: 4
Views: 295

Re: any unintended consequences?

Correct.
The iptr parameter is by definition a local variable already.
It is only in scope within the function, just like any explicit local variable.
Lua says:
"Parameters act as local variables that are initialized with the argument values"
by tatewise
13 Jun 2019 15:22
Forum: General Usage
Topic: Change Focus window to that shown in property box
Replies: 23
Views: 600

Re: Change Focus window to that shown in property box

In the Property Box try clicking on the magnifying glass focus icon next to the white & blue arrows with the cunning tooltip Display in Focus Window :) There are various other magnifying glass focus icons that operate similarly depending on context. e.g. In the Records Window or a Diagram , sele...
by tatewise
13 Jun 2019 13:40
Forum: Plugin Discussions
Topic: any unintended consequences?
Replies: 4
Views: 295

Re: any unintended consequences?

That should work Ok, but seems a rather complex method. Why not have one function with a parameter that identifies whether to save the value? e.g. function getSEX(iptr,save) local sex = string.sub(fhGetItemText(iptr,'~.SEX'), 1, 1) if sex == '' then sex = 'U' end if save then tblSEX = tblSEX or {} c...
by tatewise
10 Jun 2019 14:41
Forum: Plugin Discussions
Topic: use search and replace plugin with newline in text
Replies: 4
Views: 274

Re: use search and replace plugin with newline in text

That message suggests you have NOT set the Filters to just Note fields. I suggest you restrict the Search Scope to Marriage (MARR.FAM) and Basic Filters to Note fields . To be very specific, on the Extra Filters tab set Note fields top right to Fact Notes (~Fact.NOTE) . If the [[ and ]] are not part...
by tatewise
09 Jun 2019 18:23
Forum: General Usage
Topic: Need help with fact sorting order
Replies: 3
Views: 356

Re: Need help with fact sorting order

Presumably your Obituary or Funereal Notice facts are custom facts you have defined via Tools > Fact Types . So as Brent suggests in those definitions you need to set the Normal Time Frame to Post-Death , otherwise the Facts tab will force facts to be in their correct Time Frame even though their Al...
by tatewise
08 Jun 2019 23:34
Forum: Importing and Exporting
Topic: Sources After GEDCOM download to FH from Legacy
Replies: 7
Views: 394

Re: Sources After GEDCOM download to FH from Legacy

OK, you looked at UDF , but did you try any of the other ideas, such as Edit > Find and the Source All tab, especially for the missing Source Type field. how_to:import_from_legacy|> Import from Legacy Family Tree (LFT) explains how to handle _PLAC_DEFN Place Definition for location Lat/Longi...
by tatewise
08 Jun 2019 18:06
Forum: Research
Topic: Census Dates
Replies: 27
Views: 5631

Re: Census Dates

I suspect smoothster was referring to the uktony scenario of USA census dates being significantly different from the enumeration dates. That problem does not arise for Census records in the UK.
by tatewise
08 Jun 2019 18:02
Forum: Importing and Exporting
Topic: import same-sex partner from TMG to FH
Replies: 12
Views: 381

Re: import same-sex partner from TMG to FH

As others have said, there is a distinction in FH between creating a partnership using the Add Spouse/Partner link, and adding a Marriage Event . The Marriage Event specifically implies that a formal ceremony was held at the time and place stated. Without the Marriage Event it is just a partnership ...

Go to advanced search