I have Customized the Source Property Box and added three items.
Repository - Note(multiline) SOUR.REPO.NOTE2[1]
Repository - Identification SOUR.REPO.CALN[1]
Repository - Media Type SOUR.REPO.CALN[1].MEDI
These fields can be filled in and edited as usual, even though there is no Repository Citation link.
They can be seen on the All tab as a substructure of the empty Repository field OK.
Without the Customization it is only possible to add these three fields on the All tab after a Repository Citation link has been created.
However, this Repository Citation link can be deleted, and leaves the substructure intact as above.
e.g.
1 REPO
2 NOTE Note(1)
3 CONT Note(2)
2 CALN 987654321
3 MEDI electronic
The problem is that when the database is Saved, these three fields are discarded without warning!!!
The benefit of these three fields is that they can be added to most Reports in the Options to Include Repository Information section.
In other scenarios it is possible to create similar substructures with an empty superior tag, but the substructure is retained.
e.g.
2 CALN
3 MEDI electronic
or
1 BIRT
2 ADDR
3 ADR1 Old Cottage
3 ADR2 123 High Street
3 CITY Newtown
Although the CALN or ADDR tag is empty, the substructure is retained OK.
The correction is, either to always retain these three Repository sub-fields, or there must be a warning before they are discarded.
ID:4993
* Source Repository Data Lost Without Warning
- PeterR
- Megastar
- Posts: 1129
- Joined: 10 Jul 2006 16:55
- Family Historian: V7
- Location: Northumberland, UK
Source Repository Data Lost Without Warning
I think FH is merely complying with the GEDCOM 5.5 standard.
The cross-reference after 1 REPO is mandatory {1:1}, whereas the value after 2 CALN {0:M} or 2 ADDR {0:1} is optional.SOURCE_REPOSITORY_CITATION: =
n REPO @@ {1:1}
+1 > {0:M}
+1 CALN {0:M}
+2 MEDI {0:1}
- tatewise
- Megastar
- Posts: 27088
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Source Repository Data Lost Without Warning
That is my point.
FH is not complying, because it allows me to create the data structure, with the REPO link missing.
Only when the data is saved does FH decide to comply, and omits all my data from the .ged file without warning!!!
After the save, the data structure is still intact in the Source Property Box etc., but not in the .ged file.
So I exit from FH thinking all is OK, and next time I open FH the data is missing!!
FH is not complying, because it allows me to create the data structure, with the REPO link missing.
Only when the data is saved does FH decide to comply, and omits all my data from the .ged file without warning!!!
After the save, the data structure is still intact in the Source Property Box etc., but not in the .ged file.
So I exit from FH thinking all is OK, and next time I open FH the data is missing!!
- tatewise
- Megastar
- Posts: 27088
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Source Repository Data Lost Without Warning
A similar problem arises with Fact Source Citation structures.
e.g.
1 BIRT
2 SOUR @S9@
3 PAGE Where Within Source
3 EVEN BIRT
3 DATA
4 DATE 19 SEP 1900
4 TEXT Text From Source
3 QUAY 3
3 NOTE Notes
If there is no Source Citation link, then in the Property Box on the Main tab the subsidiary fields are correctly inhibited.
After creating a Source Citation link a great many subsidiary fields can then be added.
On the All tab, or in the Record Window, it is possible to delete the Source Citation link SOUR @S9@ and leave the substructure intact.
The problem is that when the database is Saved, all the subsidiary fields are discarded without warning!!!
It is not until the database is next opened that the data loss becomes apparent!!
e.g.
1 BIRT
2 SOUR @S9@
3 PAGE Where Within Source
3 EVEN BIRT
3 DATA
4 DATE 19 SEP 1900
4 TEXT Text From Source
3 QUAY 3
3 NOTE Notes
If there is no Source Citation link, then in the Property Box on the Main tab the subsidiary fields are correctly inhibited.
After creating a Source Citation link a great many subsidiary fields can then be added.
On the All tab, or in the Record Window, it is possible to delete the Source Citation link SOUR @S9@ and leave the substructure intact.
The problem is that when the database is Saved, all the subsidiary fields are discarded without warning!!!
It is not until the database is next opened that the data loss becomes apparent!!