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
bobtimpone
Posts: 25
Joined: Tue Jan 03, 2012 9:10 pm

Datagrid

Post by bobtimpone » Mon Jan 30, 2012 11:07 pm

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: 14194
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Datagrid

Post by Klaus » Tue Jan 31, 2012 3:46 pm

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 » Tue Jan 31, 2012 9:38 pm

Hi Kalus
It is a Table

Klaus
Posts: 14194
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Datagrid

Post by Klaus » Tue Jan 31, 2012 10:34 pm

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 » Wed Feb 01, 2012 4:14 pm

Hi Klaus
Thank you and sorry for the typo :'}
Bob

Klaus
Posts: 14194
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Datagrid

Post by Klaus » Wed Feb 01, 2012 5:04 pm

:D

Post Reply