Datagrid can't not find stack

Trevor DeVore lists at mangomultimedia.com
Fri May 7 08:56:17 EDT 2010


On May 7, 2010, at 5:41 AM, JosepM wrote:

> I have a stack with a datagrid that add and delete rows without  
> problem.
> Then I open a substack as sheet where the user fill some customer  
> data and
> close the substack. Then if I try to add a row to the datagrid...  
> "an error
> has ocurred in behavior for the column template: Chunk: can't find  
> stack."

Add a try/catch statement around the code in FillInData or  
LayoutControl and then print the error throw to the message box.

on FillInData ...
    try
       ...
    catch e
       put e
    end try
end FillInData

-- 
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com



More information about the Use-livecode mailing list