Saving data question

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
daybreak
Posts: 4
Joined: Wed Nov 04, 2015 5:29 am

Saving data question

Post by daybreak » Wed Nov 11, 2015 2:55 am

I want to save the user entered data so that when I create a new version/upgrade of the program, the user doesn't have to enter it all over again. For example I want to save data entered in datagrid to a file that can be read by the new version software. How do I go about doing that?

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10331
Joined: Wed May 06, 2009 2:28 pm

Re: Saving data question

Post by dunbarx » Wed Nov 11, 2015 4:25 pm

Hi.

Is this in a standalone? Is it for mobil?

Craig Newman

daybreak
Posts: 4
Joined: Wed Nov 04, 2015 5:29 am

Re: Saving data question

Post by daybreak » Fri Nov 13, 2015 1:01 am

Thank you Craig Newman for the reply the application will be running stand alone on windows 7 pc.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10331
Joined: Wed May 06, 2009 2:28 pm

Re: Saving data question

Post by dunbarx » Fri Nov 13, 2015 5:31 am

Hi.

Standalones cannot save themselves. They are locked by all OS's, Windows included. The way I do it is to create a "splash" stack, that is the actual executable, and may have no functionality at all, except to open another stack or external file.

That other stack(s)or external file(s), are attached to the executable in the "Standalone Application Settings" stack found in the "File" menu. You then make a standalone, which carries the other gadgets along in a single "package". This takes just a little practice, but you will get the hang of it quickly. All the attached stacks and files can be saved in the normal way. You should read the appropriate tutorials, and check out the resources at Hyperactive Software:

http://www.hyperactivesw.com/revscriptc ... ences.html

Craig Newman

Post Reply