Search found 242 matches

by shoshk
18 Jun 2015 09:15
Forum: General Usage
Topic: Best practices
Replies: 10
Views: 7224

Re: Best practices

I like the idea of "Best Practices" topics in the knowledge base. It would be a great learning tool. If the topic name started with "Best Practices: " then they would all appear together in the index. I suppose there could also be a master page pointing to the individual topics. Of course, somebody ...
by shoshk
16 Jun 2015 11:47
Forum: General Usage
Topic: Re-Using Expressions
Replies: 4
Views: 3672

Re: Re-Using Expressions

Thanks Mike.
by shoshk
16 Jun 2015 10:25
Forum: General Usage
Topic: Re-Using Expressions
Replies: 4
Views: 3672

Re: Re-Using Expressions

Mike,

I wondered about doing this with a plugin. Since it doesn't look like macros will be available in the near future, I guess I'll add it to my list of things to do.

Is the query file structure documented?

Shosh
by shoshk
16 Jun 2015 06:19
Forum: General Usage
Topic: Re-Using Expressions
Replies: 4
Views: 3672

Re-Using Expressions

Hi All, I've started to play with queries and I'm really liking the possibilities. One thing that I'm discovering is that I often find myself defining a rather hairy expression for a column, which I would like to re-use in another queries. Currently, I'm using copy-paste, but that's less than ideal,...
by shoshk
14 Jun 2015 14:33
Forum: Plugin Technical Support & Development
Topic: Formatting date point to include time
Replies: 2
Views: 2938

Re: Formatting date point to include time

Mike,

Thank you. That's exactly what I was looking for. Glad to know it was added to FH.

Shosh
by shoshk
14 Jun 2015 05:58
Forum: Plugin Technical Support & Development
Topic: Formatting date point to include time
Replies: 2
Views: 2938

Formatting date point to include time

Hi, I've looked for this in the help but just can't find it... I'm trying to format the result from LastUpdated (a datepoint) to include the time. I then store this information in my external DB. I tried using: dpLastUpdated = fhCallBuiltInFunction('LastUpdated', pi) LastUpdated = string.format('%d ...
by shoshk
11 Jun 2015 11:41
Forum: Plugin Technical Support & Development
Topic: Accessing the FH API from an external program
Replies: 4
Views: 4095

Re: Accessing the FH API from an external program

Mike,

Thank you so much for your help.

I will try not to impose too much, but I'm sure I'll have lots more questions as I go along.

Shosh
by shoshk
11 Jun 2015 09:16
Forum: Plugin Technical Support & Development
Topic: Accessing the FH API from an external program
Replies: 4
Views: 4095

Re: Accessing the FH API from an external program

Mike, Thanks for your reply. I guess I will go the route of accessing my external DB from a plugin. That's not so bad now that I think about it. Regarding AS... I've played with it, and I'm impressed, but I think I'll stick with my program. AS's use, as I see it (and correct me if I'm wrong) is prim...
by shoshk
10 Jun 2015 22:50
Forum: Plugin Technical Support & Development
Topic: Accessing the FH API from an external program
Replies: 4
Views: 4095

Accessing the FH API from an external program

Hi All, First, the background... After moving from TMG to FH, I'm close to making the decision to changing the method I use to record census data. In TMG, I used one event per census household with witnesses. After reading through the forums here, I've been convinced that it would be better to defin...
by shoshk
10 Jun 2015 13:08
Forum: General Usage
Topic: Defining Census as an attribute instead of event
Replies: 9
Views: 5161

Re: Defining Census as an attribute instead of event

Mike,

Thank you!

I tried using GetParagraph, but didn't think to put it in the curly brackets.

Shosh
by shoshk
10 Jun 2015 10:38
Forum: General Usage
Topic: Defining Census as an attribute instead of event
Replies: 9
Views: 5161

Re: Defining Census as an attribute instead of event

Hi,

I'm referring to defining a custom template for displaying in the facts list by using the advanced features of the sentence for the fact:
Tools>FactTypes, select fact, edit, advanced, "Use Override Template for Facts tab Listings."

Shosh
by shoshk
10 Jun 2015 09:23
Forum: General Usage
Topic: Defining Census as an attribute instead of event
Replies: 9
Views: 5161

Re: Defining Census as an attribute instead of event

David, I didn't realize that GEDCOM doesn't play nice with custom attributes. I was assuming that they behave like custom events. Went back to the GEDCOM spec and, yup, you're right. Sigh. I really try to stick with solutions which will export to "standard" GEDCOM. I guess I can put the individual c...
by shoshk
10 Jun 2015 06:46
Forum: General Usage
Topic: Defining Census as an attribute instead of event
Replies: 9
Views: 5161

Defining Census as an attribute instead of event

Hi All, First, a little background... I've recently moved to FH from TMG and I'm in the process of re-thinking how I do certain things. In TMG, I entered one census event for the head of household and attached everybody else as witnesses. I've been looking at the various arguments for and against an...
by shoshk
08 Jun 2015 05:02
Forum: Plugin Technical Support & Development
Topic: Problem getting value of "Where Within Source"
Replies: 2
Views: 2742

Re: Problem getting value of "Where Within Source"

Hi again, OK. So I figured it out and thought I'd post the solution in case it helps somebody else. Those pesky greater-than signs... I initialized ptrCitation as follows (I'm looping through citations, so I use a variable for the index): local cit = 1 local ptrCitation = fhGetItemPtr(pFact, '~.SOUR...
by shoshk
08 Jun 2015 04:34
Forum: Plugin Technical Support & Development
Topic: Problem getting value of "Where Within Source"
Replies: 2
Views: 2742

Problem getting value of "Where Within Source"

Hi all, In my plugin, I have the following code: local strCit = fhGetValueAsText(fhGetItemPtr(ptrCitation, '~.AUTH')) local strTitle = fhGetValueAsText(fhGetItemPtr(ptrCitation,'~.TITL')) local strPubl = fhGetValueAsText(fhGetItemPtr(ptrCitation,'~.PUBL')) local strPage = fhGetValueAsText(fhGetItemP...
by shoshk
03 Jun 2015 17:30
Forum: Plugin Technical Support & Development
Topic: How to get the fact label
Replies: 2
Views: 2914

How to get the fact label

This feels like a really stupid question -- how do I get the fact label (not tag) programatically?

Thanks,

Shoshana