Remove row data, not whole field

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
lswing
Posts: 2
Joined: Wed Apr 25, 2012 5:48 pm

Remove row data, not whole field

Post by lswing » Wed Apr 25, 2012 6:15 pm

All,

Still getting familiar withe the code. I can add data from an array into select fields, but can't find out how to remove specific rows of data when I want to move them to another field. This is the only remove code, but it deletes the whole field, ideas? Thanks!

put empty into field "ArrayData4"

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: Remove row data, not whole field

Post by Dixie » Wed Apr 25, 2012 6:24 pm

hi...

To just empty a line...
put empty into line x of fld" whatever"
To delete a line
delete line x of fld "whatever"

or
put line x of fld "whatever" into fld "thisOne"

be well

Dixie

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

Re: Remove row data, not whole field

Post by Klaus » Wed Apr 25, 2012 6:33 pm

HI iswing,

welcome to the forum! :)

Please check these great resources, they will cover basic stuff like this:
http://www.runrev.com/developers/lesson ... nferences/

And of course keep on asking here!


Best

Klaus

Post Reply