Can't delete card

Mark Talluto lists at canelasoftware.com
Tue Dec 10 22:20:01 EST 2002


On Tuesday, December 10, 2002, at 06:38 PM, Alain Farmer wrote:

>> When I try to delete a card via a bg script, I am
>> given an Error message (...). the error message:
>> Object: stack locked, or object's script is
>> executing Chunk: can't delete object
>> Is there a rationale behind this?
>
> Put the "delete" handler higher up in the hierarchy,
> e.g. in the bg-script or in the stack-script. The
> rationale is that you cannot delete the card that
> contains the running handler. BTW it is still
> "running" even though all of the statements have been
> executed, because the last line has not executed yet,
> e.g. the "end handlerName"
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>
>

All you have to do is use the send command to call another handler 1- 2 
seconds later to do the delete card job for you.  You may need to have 
the handler being called by send put in the stack or some other 
location that is not where the card to be deleted is.



Best regards,
Mark Talluto
http://www.canelasoftware.com




More information about the metacard mailing list