Thank you. There at least a couple of statutory breaches here.
You are in breach of the Computer Misuse Act (which is a criminal offence) for accessing the computer or that section of the computer if you did not have the authority to do so. It seems unlikely that you would have the authority to access your daughter’s records.
It is also a breach of the Data Protection Act for passing that data on to a third party regardless of the identity of that third party and regardless of the reason. If you felt that your ex-wife needed this record for something, the correct way of dealing with this would have been to get the consent of whoever owns the record or, make a section 7 Data Protection Act Subject Access Request on behalf of your daughter to have the information made available to you. There is a statutory fee of £10 that you must pay and they have 40 days to let you have the data. Then, you can do with the data as you wish.
I do not know how your ex-wife managed to get it removed but if she access the computer, then she is guilty of the same statutory breaches.
From an employer’s point of view they will treat this as misconduct and even potentially gross misconduct.
If you worked for the police or the Inland Revenue, this is potentially gross misconduct and would usually lead to summary dismissal.
I know it isn’t the answer you wanted that is the situation.
Can I clarify anything else for you?
Please rate the service positive. It is an important part of the process by which experts get paid. It does not cost you anything but helps us greatly.