Thanks Dave

That explains why i had trouble creating the procedure.

Regards