Here’s an illustrated overview of how Form data is stored by Gramps. This is based on my own understanding. Whilst I’ve made some minor edits to the underlying Forms code, I don’t claim to have the same depth of knowledge as @Nick-Hall. Hopefully he can correct any mistakes I have made.
The starting point is the Source. The Source record for a Form has an attribute called “Form”. The value of the attribute is the ID of the Form to use for that source.
A citation has a reference to a Source.
Finally an Event has a reference to a Citation
So for a given Event, we can check the Citation (if any) and then the Source (if any) to determine the ID of the Form to be used for display.
So we now know which form to use, next, we need the data to populate the form with. This data is stored in two locations
-
Person specific \ Family specific data (“Details”) is stored in the event reference Attributes
This person is the 2nd person on a census form
Family specific data is stored in the
-
Form specific data (“Headings”) is stored in the Event attributes
Additionally,
-
The Form reference is stored in the Citation Volume/Page field
-
The Form Date and Place are stored in the Event Date and Place fields
-
The Form Gallery is stored in the Citation Gallery
Here’s what the above data looks like in the Form
So from the above you can see that only the Form Reference and Gallery data is stored in the Citation itself. Given you merged citations, can it be assumed that these citations also have a common value for the Reference and Gallery fields? If so, I agree with Nick’s earlier comment; your Form data is still in your database.
How to fix?
I’ve not tested this but I would try the following
- Make sure you have a backup before trying this
- Open one of your events where the Form is not displaying correctly and switch to the Source Citations tab
- Make a note of the “Source” - it’s in the Title column in the previous image
- Delete this citation (click the ‘-’ button)
- Add a new citation (click the ‘+’ button) and choose the Source that you noted in step #3
- Click OK to save the new citation
- Click OK to save the event
This event now has a new (unique) citation. Hopefully the Form for this event now displays correctly.
@ennoborg if the above steps work, then I think an automated fix is to identify all events sharing the same citation, where the citation has a reference to a Source and that Source has the Form attribute. For each event, replace this shared citation with a new citation having the same Source value.
I hope this helps move you a step closer to recovering your data
Steve