There is probably an easy solution to this.
I have two stacks. Stack "A" has a button that opens Stack "B". All data entry (a field) is done in Stack "B". If I select "save" (from LiveCode's File menu) before I exit, all the data I added or modified in Stack "B" remains when I re-open the stack later. So far, so good.
I want to create a Standalone so I did so with Stack "A". I did not include Stack "B" in the standalone settings. Once the Standalone was created, I simply dropped Stack "B" into the same folder as Stack "A" (as that's where Stack "A" expects to find Stack "B").
When I launch "A" and click the button to open "B", no problem. I can then add, delete, or alter the data in the field in "B" as expected. However, when I quit the app, no changes to the field data in "B" are saved. That's the problem. How do I get "B" to save the changes?
Thanks,
Barry
Mac OSX 10.9.5, LiveCode 6.6 (because 7 has the buggy clickline code)
Saving to Standalone
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 223
- Joined: Wed Jun 21, 2006 7:33 pm
- Contact:
Re: Saving to Standalone
Hi Barry,
do you ever:
...
save stack "B"
...
?
Best
Klaus
do you ever:
...
save stack "B"
...
?
Best
Klaus
-
- Posts: 223
- Joined: Wed Jun 21, 2006 7:33 pm
- Contact:
Re: Saving to Standalone
Well, another D-oh! moment.
Yes, Klaus, you nailed it. My only excuse is that I must have been having a "HyperCard moment" where, of course, changes to cards were saved automatically.
I added the code in the appropriate handlers and it all works as expected now. As always, a big "Thank You!"
Regards,
Barry

Yes, Klaus, you nailed it. My only excuse is that I must have been having a "HyperCard moment" where, of course, changes to cards were saved automatically.
I added the code in the appropriate handlers and it all works as expected now. As always, a big "Thank You!"
Regards,
Barry