Thanks Ray - the page pulls through data from the agents and trade_users tables. Basically agents are the parent companies and trade_users are the contacts at the companies.
And this form is just updating the agent details. So sounds like I need to either change the query or add a second one for the update.
It threw me as it was fine for the page before doing the update.