Extracting data grid get column data

Slava Paperno slava at lexiconbridge.com
Sat May 21 11:44:07 EDT 2011


Does the "filter..." line need to be inside the repeat loop?

S.

> -----Original Message-----
> From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-
> bounces at lists.runrev.com] On Behalf Of Keith Clarke
> Sent: Saturday, May 21, 2011 8:14 AM
> To: How to use LiveCode
> Subject: Re: Extracting data grid get column data
> 
> ...actually, the iterative approach seems fast enough...
> 
>  put the keys of tArray into tRows
>  repeat for each line tRow in tRows
>     put return & tArray[tRow]["name"] after tNames
>     filter tNames without empty
>  end repeat
> 
> Best,
> Keith..
> 
> On 21 May 2011, at 11:49, Keith Clarke wrote:
> 
> > Hi folks,
> > Is there a direct way of extracting the data from 'cells' within a
specific data
> grid column or is the most efficient (only?) way to iterate through via
the rows,
> extracting array[rowNumber]["column"]["data"] each time?
> > Best,
> > Keith..
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list