West Midlands Police have signed an undertaking to comply with the Data Protection Act.