Functions in value fields in queries
Posted: 10 May 2013 21:49
I have redone all my census image data using Ancestral source method 1 after first using method 2.
I am now happy with the result except for the fact that some facts are now duplicated - specifically occupations. These show up as identical except for different sources - one has an AS type 1 source, the other a type 2.
An example:
Occupation: Scholar
Date: 5 April 1891
Source: [S12] Census 1891
Where Within Source: RG12 piece 2100 folio 100 page 3
Occupation: Scholar
Date: 5 April 1891
Source: [S192] Census 1891 RG12 piece 2100 folio 100 page 3
I want to identify which individuals are affected so I can delete the old type 2 fact.
I'm trying to create a query which looks for occupation dates
%INDI.OCCU[1].DATE% and %INDI.OCCU[2].DATE% which are equal.
(I know I'll have problems if the duplicates are 2nd and 3rd instances, but I'll live with that)
Using something like an Include if in the Rows part of a query the problem is specifying the value that I want to compare %INDI.OCCU[1].DATE% to. I've tried using
Contains text
=FieldText(%INDI.OCCU[2}%,'INDI.OCCU[2].DATE')
and variations, (e,g, was on and Field(... ) but I can't do it.
I'm using FH v4.1.3
Any ideas?
Thank you
Brian
ID:6939
I am now happy with the result except for the fact that some facts are now duplicated - specifically occupations. These show up as identical except for different sources - one has an AS type 1 source, the other a type 2.
An example:
Occupation: Scholar
Date: 5 April 1891
Source: [S12] Census 1891
Where Within Source: RG12 piece 2100 folio 100 page 3
Occupation: Scholar
Date: 5 April 1891
Source: [S192] Census 1891 RG12 piece 2100 folio 100 page 3
I want to identify which individuals are affected so I can delete the old type 2 fact.
I'm trying to create a query which looks for occupation dates
%INDI.OCCU[1].DATE% and %INDI.OCCU[2].DATE% which are equal.
(I know I'll have problems if the duplicates are 2nd and 3rd instances, but I'll live with that)
Using something like an Include if in the Rows part of a query the problem is specifying the value that I want to compare %INDI.OCCU[1].DATE% to. I've tried using
Contains text
=FieldText(%INDI.OCCU[2}%,'INDI.OCCU[2].DATE')
and variations, (e,g, was on and Field(... ) but I can't do it.
I'm using FH v4.1.3
Any ideas?
Thank you
Brian
ID:6939