datagrid prevents opening stack

Trevor DeVore lists at mangomultimedia.com
Wed Sep 16 15:40:42 EDT 2009


On Sep 16, 2009, at 3:35 PM, Jim Lambert wrote:

> To answer - No, only one card and the datagrid was populated on that  
> open card.
> Though persistent data was unchecked I see the file size of the  
> stack is 57 megs. So the data got saved even though it's not  
> supposed to persist.
> Odd.
>
> Everything worked beautifully until I closed the stack and tried to  
> re-open it.
> No matter how I try to open this stack it just won't open.
> When opening from the IDE's file menu weirdly there's no error  
> message at all from Rev.

If you want to try clearing out the cached data you can reset the  
cache in the message box:

set the dgCache["data"] of group "DataGrid" to empty
set the dgCache["sequencing"] of group "DataGrid" to empty

I wonder, though, if by accident you checked "cache controls" rather  
than unchecking "persistent data"? With 57 megs of data I could see  
Rev seeming to lock up if the data grid was trying to draw a control  
for every single record you have (cache controls = true) rather than  
just the visible controls like a data grid normally does.

> When using go in the msg box I get "stack is corrupted, check for ~  
> backup file"
> BTW, Where are ~ files anyway on OSX Intel?

I don't think it is any different then other platforms. Should be  
right alongside the stack file.

Regards,

-- 
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com    -    www.screensteps.com



More information about the use-livecode mailing list