Thanks for all your replies,
I have used Voltron's suggestion and, with the addition of each subform name into the error messages I have narrowed it down to the subform causing the problem, which gives me a much better chance of finding the answer.
I can't upload the database, it is much too...