I send it unfinished, sorry, here is the rest... ...cast errors is solved by php error-level: <?error_reporting (E_ALL);?> But raiserror is still not working... Any suggestions? tia Stefan