>Try using SET DATABASE to set the active database to the one that you want to modify.
Thanks for your reply Todd, but this piece of code is located in the OnNew method of KBizObj. I think that it´s not a good idea to edit code there :-). I want to know if there is a more generic solution.
Regards,