Thanks Ray
I cannot think where this went wrong, not only was there no table but $WADA->setQuery("SELECT id, should have been $WADA->setQuery("SELECT RecNo,
All seems OK now and the only difference I can see is when I re-created the initial recordset I included all fields.
Regards
John