Page 1 of 1

FieldEditor and autom. save to source

Posted: Thu May 03, 2012 10:01 am
by ueliweb
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

Re: FieldEditor and autom. save to source

Posted: Thu May 03, 2012 10:20 am
by Klaus
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

Re: FieldEditor and autom. save to source

Posted: Fri May 04, 2012 8:13 am
by ueliweb
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!

Re: FieldEditor and autom. save to source

Posted: Fri May 04, 2012 8:46 am
by Klaus
Hi Ueli,

call me "your eyes" :D


Best

Klaus