FactValue and Residences
Posted: 20 Jan 2010 15:56
Just checking with people's views about =FactValue() in queries.
For most attributes, it just returns the value, however for residences it makes up a sentence. Eg. Occupation returns just the occupation whilst Residence returns 'Resided in x,y,z date' where x,y,z is the place.
To be useful in queries, which can be output as a CSV file and used as input into other programs, it would be better if only the actual data was output, without any fancy embellishments. Sentences are best kept in reports and diagrams.
I can see why it might be thought useful to output a sentence for the residence attribute as it is an exception in the Gedcom spec as the only attribute without a value. More like an event actually. This is probably because the value for a residence can be found in the place structure field. However in handling this exception I think it better that just the place field is returned by FactValue for the residence attribute.
Does anyone think this is a bit of an inconsistency that FactValue outputs residences as a sentence? Would it be better to fix it and return just the place?
ID:4301
For most attributes, it just returns the value, however for residences it makes up a sentence. Eg. Occupation returns just the occupation whilst Residence returns 'Resided in x,y,z date' where x,y,z is the place.
To be useful in queries, which can be output as a CSV file and used as input into other programs, it would be better if only the actual data was output, without any fancy embellishments. Sentences are best kept in reports and diagrams.
I can see why it might be thought useful to output a sentence for the residence attribute as it is an exception in the Gedcom spec as the only attribute without a value. More like an event actually. This is probably because the value for a residence can be found in the place structure field. However in handling this exception I think it better that just the place field is returned by FactValue for the residence attribute.
Does anyone think this is a bit of an inconsistency that FactValue outputs residences as a sentence? Would it be better to fix it and return just the place?
ID:4301