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: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
bobtimpone
Posts: 25
Joined: Tue Jan 03, 2012 9:10 pm

Datagrid

Post by bobtimpone »

Hi All
I am writing a diary application in which I have built an excel like datagrid group.
How do I save the user input to a CSV file
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Datagrid

Post by Klaus »

Hi Bob,

is your datagrid a TABLE or a FORM?


Best

Klaus
bobtimpone
Posts: 25
Joined: Tue Jan 03, 2012 9:10 pm

Re: Datagrid

Post by bobtimpone »

Hi Kalus
It is a Table
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Datagrid

Post by Klaus »

Hi Bob,

my Name is Klaus 8)

OK, in that case you can just put "the dgtext of grp XXX" into a file:
...
put the dgtext of grp "your spreadsheet like datagrid here" into url("file:" & "DataGridContent.csv")
...

"the dgtext of grp XXX" is a TAB and CR delimited text list.


Best

Klaus
bobtimpone
Posts: 25
Joined: Tue Jan 03, 2012 9:10 pm

Re: Datagrid

Post by bobtimpone »

Hi Klaus
Thank you and sorry for the typo :'}
Bob
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Datagrid

Post by Klaus »

:D
Post Reply