Page 1 of 1

I need help with a simple app using datagrid

Posted: Mon Jan 06, 2014 4:20 am
by meanwhileinfargo
The app will be used to keep track of the Wedding RSVP's we receive. I created a column for each food choice, a column to record gifts received, and a column to note whether or not invites and thank you notes have been sent.

When the spreadsheet is updated (and the card or stack is closed), how do I get the data to save in the application or a database in the cloud?

I am brand new to livecode and coding in general. Thanks for any advice! :D

Re: I need help with a simple app using datagrid

Posted: Mon Jan 06, 2014 4:24 am
by meanwhileinfargo
Version 2: I'd like to also be able to sort the invites by Last name or relation (Friend, Family, etc.) 8)

Re: I need help with a simple app using datagrid

Posted: Mon Jan 06, 2014 6:30 am
by Simon
Hi meanwhileinfargo,
I hope the wedding isn't next weekend :D
What you are asking to do is not too difficult in liveCode but for a beginner it will take a few days/weeks.

The DataGrid isn't the best choice for beginners. While it looks just like a speadsheet it much more advanced than that (if you've ever looked it comes with over 8k lines of code in it).
how do I get the data to save in the application or a database in the cloud?
You will not be able to save new data into a standalone (the application) you have to have an external file.
You can save the updated data to a local SQLite database.
Lots of reading and practice to be done:
http://lessons.runrev.com/m/datagrid
for the DB:
http://lessons.runrev.com/s/lessons/m/4 ... e-database

Are you planning this for a commercial product? This makes a big difference to how you can approach the app.
Lots of people here just make stuff for their own use.

Simon