On Thu, May 23, 2013 at 4:33 PM, Peter Haworth <p...@lcsql.com> wrote:
> put zero into tColNumber > repeat tNumRecs times > repeat tColCount times > add 1 to tColNumber > get revDatabaseColumnNumbered(tID, tColNumber,tArray[tColNumber]) > end repeat > revExecuteSQL SQLiteDBID,"INSERT INTO <tablename> VALUES" && > tValues,"tArray" > revMoveToNextRecord(tID) > end repeat > revExecuteSQL SQLiteDBID,"COMMIT" > Sorry, the "put zero into tColNumber" line should come after the "repeat tNumRecs times" Pete lcSQL Software <http://www.lcsql.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