Search found 328 matches
- 09 Dec 2020 22:09
- Forum: General Usage
- Topic: section function in sentence not working?
- Replies: 13
- Views: 3058
section function in sentence not working?
I was building a sentence using the Section function: {date} {place} {=FactValue(%FACT%)} {individual} {=Section(“tekst || andere tekst”,1,"||")} The FactValue function works ok, but the Section function doesn't seem to be recognized. BTW. The intend is {date} {place} {=Section (FactValue(%FACT%),1,...
- 15 Sep 2020 13:23
- Forum: Closed Items
- Topic: The New Knowledgebase
- Replies: 12
- Views: 9256
Re: The New Knowledgebase
Impressive, the new KB; great job!
- 31 May 2020 13:12
- Forum: General Usage
- Topic: Grouping of fact types
- Replies: 5
- Views: 2895
Re: Grouping of fact types
Yes Mike, it's also my experience that the wish list is what the name says it is, a "wish" list. 
I'll try to contact Calico support about the idea and see if that's going to ring a bell.
Thanks anyhow for your investigating alternative solutions.
Cheers, Joop
I'll try to contact Calico support about the idea and see if that's going to ring a bell.
Thanks anyhow for your investigating alternative solutions.
Cheers, Joop
- 30 May 2020 21:03
- Forum: General Usage
- Topic: Grouping of fact types
- Replies: 5
- Views: 2895
Re: Grouping of fact types
Thanks Lorna and Mike for your idea's but... I do mean all reports and more specific the narrative ones. When a person changed profession 6 times, moved 8 times and changed religion, not to speak of buying and selling property, being in the military etc. etc. it is - in my opinion - terribly confusi...
- 30 May 2020 10:00
- Forum: General Usage
- Topic: Grouping of fact types
- Replies: 5
- Views: 2895
Grouping of fact types
In general I am quite happy with the way one can input data and get the various outputs. Yet, I still severely miss one thing and that is a possibility to group fact types. I was a long time TMG user and there I kind of faked it by using artificial sort dates (like the real date + 1000, 1100 etc.). ...
- 10 Jun 2019 14:50
- Forum: Plugin Technical Support & Development
- Topic: use search and replace plugin with newline in text
- Replies: 4
- Views: 3726
Re: use search and replace plugin with newline in text
Thanks Mike, the filter setting did it.
- 10 Jun 2019 14:20
- Forum: Plugin Technical Support & Development
- Topic: use search and replace plugin with newline in text
- Replies: 4
- Views: 3726
Re: use search and replace plugin with newline in text
It says: Newline characters in search&/or replace text are reserved exclusively for long text fields, such as note, fact address, text from source. LUA patters is turned off (I am doing a text to text replace; only thing is that it is a multi-line text). The square brackets are not part of the searc...
- 10 Jun 2019 13:29
- Forum: Plugin Technical Support & Development
- Topic: use search and replace plugin with newline in text
- Replies: 4
- Views: 3726
use search and replace plugin with newline in text
I am trying to use the Search and Replace plugin to replace text in the note field of marriage facts. The text includes newlines like:
[[
text 1:
text 2:
]]
change to:
[[
newtext:
]]
But the plugin gives an error memo and refuses to do it.
What am I missing?
[[
text 1:
text 2:
]]
change to:
[[
newtext:
]]
But the plugin gives an error memo and refuses to do it.
What am I missing?
- 06 Mar 2019 09:35
- Forum: General Usage
- Topic: GetLabeledText check if empty
- Replies: 5
- Views: 3308
Re: GetLabeledText check if empty
@Mike
Yes, and that's what I use. But, I see now my question was confusing. In addition to what you (and I ) use to get the "meta field" input, I also use the fact that there is an input to the "meta field" to decide which text to use on a different position in the sentence. Hence the test.
Yes, and that's what I use. But, I see now my question was confusing. In addition to what you (and I ) use to get the "meta field" input, I also use the fact that there is an input to the "meta field" to decide which text to use on a different position in the sentence. Hence the test.
- 05 Mar 2019 18:01
- Forum: General Usage
- Topic: GetLabeledText check if empty
- Replies: 5
- Views: 3308
Re: GetLabeledText check if empty
Yes, the statement is wrong. I should have used:
{=TextIf((GetLabelledText(%FACT.NOTE2%,"Impost: ")=""),"text1", "text2")}
Sorry for my dumb question.
{=TextIf((GetLabelledText(%FACT.NOTE2%,"Impost: ")=""),"text1", "text2")}
Sorry for my dumb question.
- 05 Mar 2019 16:49
- Forum: General Usage
- Topic: GetLabeledText check if empty
- Replies: 5
- Views: 3308
GetLabeledText check if empty
I am in the process of changing over to GetLabeledText for my "meta fields" in the sentence definition of the various fact types. Overall this is going very well but I've run into a small problem. When I test whether a "meta field" has no input, the test doesn't work. I tried: {=TextIf(Exists(GetLab...
- 05 Mar 2019 14:37
- Forum: Plugin Technical Support & Development
- Topic: using search/replace to find empty fact notes
- Replies: 9
- Views: 4765
Re: using search/replace to find empty fact notes
Super, I like quick and don't mind dirty
. It does the job and has improved my understanding and interest of Lua.
Thanks again.
Thanks again.
- 05 Mar 2019 14:20
- Forum: Plugin Technical Support & Development
- Topic: using search/replace to find empty fact notes
- Replies: 9
- Views: 4765
Re: using search/replace to find empty fact notes
Hi Jane, Thanks for your help. It works beautifully. One question though, to have it fill in the right auto-create note right away, I need to enter [[ and ]] as text to enter as well. Suppose the auto-text is: [[ Variable 1: Variable 2: ]] Could this be entered in one go? Would be great. Cheers, Joop
- 05 Mar 2019 13:14
- Forum: Plugin Technical Support & Development
- Topic: using search/replace to find empty fact notes
- Replies: 9
- Views: 4765
Re: using search/replace to find empty fact notes
I have been programming in PL/1, APL, Fortran, Algol and lately in Python, but know nothing of Lua. Yes I checked the Plugin Help. I am now looking into the Birth fact, after that facts like Death, Burial, Baptism, and Marriage need to be handled. Every different fact will need to have a different a...
- 05 Mar 2019 00:43
- Forum: Plugin Technical Support & Development
- Topic: using search/replace to find empty fact notes
- Replies: 9
- Views: 4765
Re: using search/replace to find empty fact notes
You presume right and indeed I already dealt with the non-empty ones and am now in search of means to enter the auto-create note in the facts that (as I understand now) currently have no fact notes. A Plugin to do this would be great, but on the other hand, would it not be a great extension of the s...
- 04 Mar 2019 22:25
- Forum: Plugin Technical Support & Development
- Topic: using search/replace to find empty fact notes
- Replies: 9
- Views: 4765
using search/replace to find empty fact notes
I am trying to use search and replace to replace empty fact notes with an [[ auto created note ]]. Seems I am doing something wrong or overseeing the obvious, because when I search on non-empty note fields, everything works fine, but when I leave the search field empty (to search for empty note fiel...
- 03 Mar 2019 21:34
- Forum: General Usage
- Topic: number of witnesses
- Replies: 13
- Views: 6418
Re: number of witnesses
I did vote just now!
- 03 Mar 2019 20:03
- Forum: General Usage
- Topic: number of witnesses
- Replies: 13
- Views: 6418
Re: number of witnesses
Mike, it's a very nice solution and I understand the how and why of it. I even think that most of what you did is of a generic nature and can be used in all situations where a conditional list with comma's and "and" needs to be build.
Thanks for your help!
Thanks for your help!
- 03 Mar 2019 13:34
- Forum: General Usage
- Topic: number of witnesses
- Replies: 13
- Views: 6418
Re: number of witnesses
Hi Mike,
I gave up
, that's the reason. But... I am very much interested in your solution, because I agree that using note paragraphs is my (usually) last resort solution. Please share.
I gave up
- 02 Mar 2019 21:10
- Forum: General Usage
- Topic: number of witnesses
- Replies: 13
- Views: 6418
Re: number of witnesses
I can't get to the right witness data from the fact level. So I did it the other way around and started at the fact level. My sentence is now: {individual} was <{=GetParagraph(%FACT.NOTE2%,1)}> baptized {date} {place} <{=TextIf(Exists(%FACT._SHAR[1]%),"in the presence of")}> {role=getuige1} <({=Text...
- 02 Mar 2019 20:36
- Forum: General Usage
- Topic: number of witnesses
- Replies: 13
- Views: 6418
Re: number of witnesses
I have changed to sentence to make it more compliant with what FH supports (I hope :)) {individual} was <{=GetParagraph(%FACT.NOTE2%,1)}> baptized {date} {place} <{=TextIf(Exists(%FACT._SHAR[1]%),"in the presence of")}> {role=getuige1} <({%FACT._SHAR[1].NOTE2%})><, {role=getuige2}> <({%FACT._SHAR[2]...
- 02 Mar 2019 18:44
- Forum: General Usage
- Topic: number of witnesses
- Replies: 13
- Views: 6418
Re: number of witnesses
I have a sentence with 3 different witness roles (r1, r2 and r3). Each one of them can be single or plural. The sentence is: {individual} was <{=GetParagraph(%FACT.NOTE2%,1)}> babtized {date} {place}, in the presence of <{role=r1} as R1> <, {role=r2} as R2> <and {role=R3} as R3> The "in the presence...
- 02 Mar 2019 18:25
- Forum: General Usage
- Topic: number of witnesses
- Replies: 13
- Views: 6418
Re: number of witnesses
Thanks Mike, Too bad that such a simple question can only be solved by such an elaborate expression. Maybe if I could check on the role name of the witness... What is the result of %FACT._SHAR%? If it's the role name, than I might be able to get my sentence working without knowing the number of witn...
- 02 Mar 2019 17:17
- Forum: General Usage
- Topic: number of witnesses
- Replies: 13
- Views: 6418
number of witnesses
I have a question but can't find the answer. I need the number of witnesses to build a correct sentence. If possible per role, but that's not of utmost importance. Is it possible?
- 01 Feb 2019 21:32
- Forum: General Usage
- Topic: cleansing source text
- Replies: 19
- Views: 11205
Re: cleansing source text
Mike, works like a charm.
Thanks and enjoy the weekend!
Thanks and enjoy the weekend!