Can you add or delete cards in a standalone?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Happyrever
Posts: 55
Joined: Sat Sep 10, 2011 12:22 pm

Can you add or delete cards in a standalone?

Post by Happyrever » Thu Nov 03, 2011 6:47 pm

I am trying to knock together a quick contacts application for my desktop. I am fedup with the slow and over complex Outlook and the like, stuff.
The simple stack produced by Tactile media "Contact x" is sufficient, but appears only to function as a stack and not as a standalone. This is because you cannot save or delete data (permanantly) in the standalone. So new or deleted records are lost when re-starting the application.

Saving and restoring the data from an external file is no problem, except if the number of records is fixed at the time of creating the standalone.
I could assume an adequate number of records and create a standalone on that basis, but the resulting blank cards show up first in the list of contacts names.

So the question is can you add or delete cards in a standalone?

Otherwise, have you any solution to the problem?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Can you add or delete cards in a standalone?

Post by Mark » Fri Nov 04, 2011 12:51 am

Hi,

If you save your stack outside the standalone, as a separate stackfile, e.g. in ~/documents/stack.rev then you will be able to add or delete cards and you won't lose records after saving the stack.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply