FieldEditor and autom. save to source

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
ueliweb
Posts: 118
Joined: Wed May 11, 2011 9:47 am

FieldEditor and autom. save to source

Post by ueliweb » Thu May 03, 2012 10:01 am

Hei

I try to work with data grid and at the moment I study the editing of a field.
By standard everything works well.

My question is now where and how to catch that the field was edited to save changes imediatly to an external source (at the moment text file, later perhaps a database on a server).
But I wan´t not script this for every cell and if possible also not for every datagrid.

Could someone help me to the right way?
Also if you can link just to another topic that I may oversee.

Thanks
ueliweb

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

Re: FieldEditor and autom. save to source

Post by Klaus » Thu May 03, 2012 10:20 am

Hi Ueli,

check the chapter "Using The Built-In Field Editor" in the "LiveCode_Data_Grid.pdf".
There you will find: "How Do I Save Changes The User Makes In An Editor Field To An External Data Source?"
Sounds exactly like what you are looking for :D

Get this PDF here:
http://lessons.runrev.com/m/datagrid


Best

Klaus

ueliweb
Posts: 118
Joined: Wed May 11, 2011 9:47 am

Re: FieldEditor and autom. save to source

Post by ueliweb » Fri May 04, 2012 8:13 am

Hei Klaus

creazy how I could oversee it because I printed this DG Manual as broschure and studied ...
First I was a bit confused but after do some sample it locks to be very easy to manage.

Real thanks!
ueliweb

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

Re: FieldEditor and autom. save to source

Post by Klaus » Fri May 04, 2012 8:46 am

Hi Ueli,

call me "your eyes" :D


Best

Klaus

Post Reply