>Basically, I get the same error -> "Record is not locked"
>
>What I can't figure out is why I am getting the error.
No, but it seems to me that you should search for differences in the environment, probably some SET command.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)