Problem solved.. At Last.
The subform had a query in its record source. However it had its recordsource changed with vba as part of the workings of the main form. Now I realised that while the ID field was included in the query in the permanent record source of the subform, the ID was...