* Sorting dates with before and after?
-
E Wilcock
- Megastar
- Posts: 1181
- Joined: 11 Oct 2014 07:59
- Family Historian: V7
- Location: London
- Contact:
Sorting dates with before and after?
I use fh for historical research. Listing war dead from WW1 or Holocaust deaths, there may be no exact death date so many involve a date including the word before or after.
When I sort a named list by date of death, the sort order ignores the words before and after. And sorts both according to surname of the person.
So I cant immediately see how many survived.
This failure to sort may be due to my lazy data entry as I sometimes just type in after 1918 or after 1945. But German source sites using a more exact cut off point
before 08.05.1945
also use the before and after convention.
When I sort a named list by date of death, the sort order ignores the words before and after. And sorts both according to surname of the person.
So I cant immediately see how many survived.
This failure to sort may be due to my lazy data entry as I sometimes just type in after 1918 or after 1945. But German source sites using a more exact cut off point
before 08.05.1945
also use the before and after convention.
Genealogy site at http://freepages.genealogy.rootsweb.anc ... /~wilcock/
- tatewise
- Megastar
- Posts: 27087
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Sorting dates with before and after?
I have experimented with sorting a Death Date column in a Named List and it sorts according to the Date given ignoring the before or after prefix, and positions the entry correctly among other dates that don't have such a prefix.
So I don't understand the problem you are describing.
So I don't understand the problem you are describing.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
-
E Wilcock
- Megastar
- Posts: 1181
- Joined: 11 Oct 2014 07:59
- Family Historian: V7
- Location: London
- Contact:
Re: Sorting dates with before and after?
Mike I need to sort who died before June 1945 from the people who died after June 1945 so the difference between before and after is vital.
Same goes for November 1918.
Same goes for November 1918.
Genealogy site at http://freepages.genealogy.rootsweb.anc ... /~wilcock/
- tatewise
- Megastar
- Posts: 27087
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Sorting dates with before and after?
OK, so this might not be the perfect solution, but may help.
Create another Column with Heading of Date Type and Expression of %INDI.DEAT.DATE:XDATETYPE%
Set its Sort Direction to Descending.
In the Named List first click on Date Type column header to sort by type.
Then click on Death Date column header to sort by date.
All the before June 1945 dates will be grouped together, separate from the after June 1945 group, and separate from any exactly June 1945 group.
Create another Column with Heading of Date Type and Expression of %INDI.DEAT.DATE:XDATETYPE%
Set its Sort Direction to Descending.
In the Named List first click on Date Type column header to sort by type.
Then click on Death Date column header to sort by date.
All the before June 1945 dates will be grouped together, separate from the after June 1945 group, and separate from any exactly June 1945 group.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
-
E Wilcock
- Megastar
- Posts: 1181
- Joined: 11 Oct 2014 07:59
- Family Historian: V7
- Location: London
- Contact:
Re: Sorting dates with before and after?
Thank you so much Mike. You are a genius.
That sorts it enough for me to tot up.
That sorts it enough for me to tot up.
Genealogy site at http://freepages.genealogy.rootsweb.anc ... /~wilcock/
-
E Wilcock
- Megastar
- Posts: 1181
- Joined: 11 Oct 2014 07:59
- Family Historian: V7
- Location: London
- Contact:
Re: Sorting dates with before and after?
I have just gone back to this Mike as never really mastered it before.
It has now dawned on me that one can sort query results by more than one column and this progressive sorting is what you were telling me to do. But I am still not getting it right.
It has now dawned on me that one can sort query results by more than one column and this progressive sorting is what you were telling me to do. But I am still not getting it right.
Genealogy site at http://freepages.genealogy.rootsweb.anc ... /~wilcock/
- tatewise
- Megastar
- Posts: 27087
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Sorting dates with before and after?
It is difficult to advise what to correct without a full description of your current attempt and what is not right.
You know what you have tried and what you want to achieve but we don't!
You know what you have tried and what you want to achieve but we don't!
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
-
E Wilcock
- Megastar
- Posts: 1181
- Joined: 11 Oct 2014 07:59
- Family Historian: V7
- Location: London
- Contact:
Re: Sorting dates with before and after?
I solved the problem Mike by changing my data entry and using your plug in to find and replace.
Instead of using before and after 8 May 1945 (end of war in Europe) I changed the after 8 May 1945 dates to after 9 May 1945.
I have been using this "before" and "after" date entry only for people whose exact date of death remains unknown. And it is pointless to create an unecessary sorting problem. There probably is an fh solution. But I am not as sharp as I once was.
Instead of using before and after 8 May 1945 (end of war in Europe) I changed the after 8 May 1945 dates to after 9 May 1945.
I have been using this "before" and "after" date entry only for people whose exact date of death remains unknown. And it is pointless to create an unecessary sorting problem. There probably is an fh solution. But I am not as sharp as I once was.
Genealogy site at http://freepages.genealogy.rootsweb.anc ... /~wilcock/