Thank you for ur code. But my problem is not updating table. updating a recordset record that has more than one records