Best data import approach

Peter Haworth pete at lcsql.com
Sat Mar 30 15:09:18 EDT 2013


Hi Skip,
On the face of it, reading it into a variable and setting the dgText of the
datagrid to the variable seems like the simplest approach.  I guess you
might make a case for using an in-memory sqlite database depending on the
volume of data and the complexity of the "manipulations" you want to do to
it.
Pete
lcSQL Software <http://www.lcsql.com>


On Sat, Mar 30, 2013 at 10:54 AM, Magicgate Software - Skip Kimpel <
skip at magicgate.com> wrote:

> Hello LC's,
>
> I have a tab delimited text file(log file) that I need to manipulate every
> once in a while and extract data from it.  Is there a good way to read this
> directly into a datagrid and manipulate it from there or I am better off
> reading the file, loading it into a sqlite db and THEN manipulate it from
> there.
>
> The text file I am reading is constantly changing so I can not just do a
> one time conversion, I will always have to read from this file.
>
> This is for a desktop app, by the way....
>
> Thanks in advance for your input!
>
> SKIP
> _______________________________________________
> 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