basic table field

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
herbwords
Posts: 70
Joined: Sat Dec 01, 2007 2:59 am

basic table field

Post by herbwords » Mon Jan 07, 2013 10:42 pm

Hi to All,

I'm still using cards. I can't seem to grasp data grids and sqlite. I may get sqlite soon.

If you collected data from 5 fields on a card and have 20 cards what would the script look like to display the information in a basic table field.

Thanks,

Patrick

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10305
Joined: Wed May 06, 2009 2:28 pm

Re: basic table field

Post by dunbarx » Mon Jan 07, 2013 11:00 pm

Hi.

I use cards too.

Table field contents are tab and return delimited. I do not know what kind of data you have in your card fields, but in a button somewhere, if you:

Code: Select all

on mouseup
   repeat with y = 1 to 3
      put random(99) & tab & random(99) & tab & random(99) into line y of temp
   end repeat
   put temp into fld "yourTableField"
end mouseup
click the button and you get all kinds of useful integers in the table field. Can you take it from here?

Craig Newman

Post Reply