>Hi Nancy,
>
>The code is not the same!!!!
>
>But this method giveme an error and i try to debug it, so i put the same code in method procura_unica... and the error continue...
Then something _else_ is different. Either the variables values, check them in the debugger, or, as Sergey points out, the proc name on the object.
Stop the debugger in the code that doesn't work, before the error, and check the variables, and check whether the method exists. Use something like
PEMSTATUS(.oConnect, 'Procura_unica', 5)