I need help with a simple app using datagrid

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
meanwhileinfargo
Posts: 3
Joined: Tue May 07, 2013 1:46 am

I need help with a simple app using datagrid

Post by meanwhileinfargo » Mon Jan 06, 2014 4:20 am

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

meanwhileinfargo
Posts: 3
Joined: Tue May 07, 2013 1:46 am

Re: I need help with a simple app using datagrid

Post by meanwhileinfargo » Mon Jan 06, 2014 4:24 am

Version 2: I'd like to also be able to sort the invites by Last name or relation (Friend, Family, etc.) 8)

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: I need help with a simple app using datagrid

Post by Simon » Mon Jan 06, 2014 6:30 am

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
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Post Reply