H-E-L-P !!!!!
I have been working on a very large project all day. My mainstack has 12 substacks that are fairly complex. I'm not sure what happened, but at one point I saved my stack, and my stack size dropped from 16MG down to 9MG, and I'm missing 8 of my substacks.
I archive my stack every day, so I have the one from yesterday that has all my substacks. Is there a way to move those substacks from the archive to my current version without screwing everything up? Or can I replace the mainstack in the archive with my current mainstack? I would hate to have to go back and try to replicate all the changes I made during the day.
I hope someone can help.
John Miller
Missing Substacks
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Missing Substacks
You can easily change the "Mainstack" property of the substacks to the new stack. but only if you rename the old mainstack, because names of all loaded stacks always have to be unique.
so you'd do something like this:
so you'd do something like this:
- open old mainstack that has substacks
- rename old mainstack to anything else
- rename susbtacks that do still exist in new mainstack to anything else
- open new mainstack that lacks some substacks
- open relevant substack, and set the mainstack property to the new mainstack (in the middle of the general tab of the property inspector)
- repeat for all substacks that are missing
- save the new mainstack
- DO NOT, EVER, FOR THE LOVE OF ALL THAT IS HOLY, SAVE THE OLD MAINSTACK. DON'T DO IT. (DANGER)
- quit LC to make sure you do not save old mainstack later on because it's still loaded but hidden, or something like that (the ide is not very clear about wether a stack is really closed or not)
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
-
- Posts: 116
- Joined: Mon Apr 30, 2007 3:33 pm
Re: Missing Substacks
Thank You ! Thank You ! Thank You !
Re: Missing Substacks
BvG wrote:DO NOT, EVER, FOR THE LOVE OF ALL THAT IS HOLY, SAVE THE OLD MAINSTACK. DON'T DO IT. (DANGER)


