Marty Knapp wrote
> 
> In my scenario, how do I use the "GetDataForLine" command?
> 
> Am I wasting time by converting my tab-delimited file to an array?
> 

Hi Marty, I am no datagrid expert (more or less just stumble onto solutions
that work for me) and I am not familiar with the technique you are using but
I have used the following script to "read" a tab delimited file into a
datagrid


put url ("file:" & thefilepath) into theData
set the dgText of group "DataGrid 1" to theData 

This assumes that the first line of the file is data, and not column names.
If it is column names change the 2nd line to:

set the dgText[true] of group "DataGrid 1" to theData 

Hope that is helpful...

-- Mark


--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Datagrid-GetDataForLine-tp4149394p4150488.html
Sent from the Revolution - User mailing list archive at Nabble.com.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to