Need to compare two datagrids

Peter Haworth pete at lcsql.com
Mon May 5 17:53:45 EDT 2014


On Mon, May 5, 2014 at 2:42 PM, Peter Haworth <pete at lcsql.com> wrote:

>  filter lines of tdg2Text with item 1 of of rLine into tTemp


I think that line should be:

filter lines of tdg2Text with (item 1 of rLine & tab) into tTemp

That should work as long as item 1 doesn't appear in anything other than
the first column of tdg2Text.  You could use a regexp to be absolutely
safe, something like:

put "^" & item 1 of rLine & "\t" into tRegexp
filter lines of tdg2Text matching tRegexp into tTemp

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>



More information about the use-livecode mailing list