(DataGrid) one datagrid can't find the stack when its name is changed

Andre.Bisseret Andre.Bisseret at inria.fr
Sat Sep 25 15:29:50 EDT 2010


Bonjour,
I have an app. with a main stack which is use to keep one' accounts.
13 cards, on for each month and the last of the year'recapitulation.
On each cards, one data grid, which has been installed with:
-------
copy group "DataGrid" of group "Templates" of stack  
"revDataGridLibrary" to this card
-----
Worked as expected up to now.

Now, I want to be able to create new stacks (for each years)
Up to now my stack was named, say "annual accounts".

I just tried to replace the current name with "annual accounts 2010".

Then, all works normally, (the datagrids of the 12 months are working  
normally)
EXCEPT the data grid on the year card; when I go to the year card, I  
got the following answer message:
---------
An error has occured in behavior for the
column template;
Chunk: can't find stack
with "OK" or "Edit Script"
---------
The same when I click on the button which calculates the data for the  
year and populates the datagrid: the handler is interrupted and I got  
several successive such messages.

What am I missing here?
I would like to be able, for example, to simply clone the stack 2010  
(or a model stack) and only change the name to "annual accounts 2011"

Thanks a lot in advance for any help

Best regards from Grenoble

André






More information about the use-livecode mailing list