Sqlite and performances in LiveCode
pete at mollysrevenge.com
Tue Mar 13 16:46:03 CDT 2012
OK, found the problem. I had a set dgProps["sort by column"] statement
after setting the dgNUmberOfRecords. Moved that to a place where
dgNumberOfRecords is zero and only one cycle of GetDataForLine happens now.
Thanks for the help in tracking it down. There are a lot of nuances to
On Tue, Mar 13, 2012 at 10:49 AM, Trevor DeVore
<lists at mangomultimedia.com>wrote:
> If you have the dgNumberOfRecords set to a positive number then that makes
> sense as the data grid has to redraw.
> If the dgNumberOfRecords is set to 0 (and messages aren't locked when
> setting it) then I'm not sure why that is. Setting the dgNumberOfRecords to
> 0 should do the trick as it empties out the internal sDataArray array.
> GetDataForLine is only sent if an entry in the sDataArray array is NULL.
Molly's Revenge <http://www.mollysrevenge.com>
More information about the use-livecode