* All census query

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
Post Reply
User avatar
Deirdre784
Famous
Posts: 157
Joined: 12 Mar 2016 14:55
Family Historian: V7
Location: Cardiff

All census query

Post by Deirdre784 » 06 Sep 2016 21:32

I'm trying to create a query that shows the addresses of individuals on the censuses (and 1939 register). I can create a query bringing in one census at a time but would be interested in one that showed them all in one table.

Is this possible? eg
Name > 1841 address > 1851 address > 1861 address ....... 1939 register address

Thanks.
Deirdre

User avatar
Jane
Site Admin
Posts: 8442
Joined: 01 Nov 2002 15:00
Family Historian: V7
Location: Somerset, England
Contact:

Re: All census query

Post by Jane » 06 Sep 2016 21:40

If you take fhugdownloads:contents:kinsfolk_census_queries|> Query:Individual ~ Kinsfolk Census Queries

as a base and just change the Date columns for addresses that will work

So you will be using an Individual rather than Fact Query and using the [Year=] index option to select the facts for the specific dates.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."

User avatar
Deirdre784
Famous
Posts: 157
Joined: 12 Mar 2016 14:55
Family Historian: V7
Location: Cardiff

Re: All census query

Post by Deirdre784 » 07 Sep 2016 05:32

That's great, thanks Jane, I'll have a go tonight.
Deirdre

User avatar
Deirdre784
Famous
Posts: 157
Joined: 12 Mar 2016 14:55
Family Historian: V7
Location: Cardiff

Re: All census query

Post by Deirdre784 » 07 Sep 2016 22:31

Hi Jane, the first bit was great, and those 2 queries will be really useful. Sadly however, I can't see what I need to edit to get the addresses. I guess this is too advanced for me :cry:
Deirdre

User avatar
tatewise
Megastar
Posts: 27086
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: All census query

Post by tatewise » 07 Sep 2016 23:16

Yes, those Custom Queries are a bit more sophisticated than they appear.
But for your purposes the changes are fairly simple.

On the Columns tab for each Heading: 1xx1 Census replace the entire Expression.
e.g.
For 1841 Census first use Ctrl-A to select entire Expression and hit Delete key.
Then enter %INDI.CENS[year=1841].ADDR% and click Update button.

Similarly for 1851 Census but use CENS[year=1851] instead.

Repeat for each Column through to 1911 Census and then Add a 1939 Register column.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
Deirdre784
Famous
Posts: 157
Joined: 12 Mar 2016 14:55
Family Historian: V7
Location: Cardiff

Re: All census query

Post by Deirdre784 » 08 Sep 2016 10:51

That's brilliant, cheers Mike.
Deirdre

User avatar
Deirdre784
Famous
Posts: 157
Joined: 12 Mar 2016 14:55
Family Historian: V7
Location: Cardiff

Re: All census query

Post by Deirdre784 » 09 Sep 2016 13:15

Update to say thanks again Mike, it's working as I wanted (we realised we had a number of ancestors on different branches living in the same street so wanted an easy way to look at that, as well as check missing entries), and it can be used as a template for other queries I want to do.
Deirdre

Post Reply