[HELP] Facing a datagrid bug

Bob Sneidar bobs at twft.com
Tue Aug 16 12:09:59 EDT 2011


I am going to say that there are characters in the text that Livecode does not expect. But I am guessing. You can try a divide and conquer approach to test this. Start by creating two globals. Put half the data into one global and half the data into the other. Populate the dataGrid with one half, try to sort. If it fails, divide that in two. Rinse and repeat. 

Eventually and before too long you are wither going to find out what the offending data is, or the problem will persist proving that it isn't an odd character in the data. 

Also, would you mind sending me a stack with the datagrid complete with the data? Let's see what happens here. If it's reproducible, it's pandemic. If not, it's local. 

Bob


On Aug 16, 2011, at 8:58 AM, Andre Garzia wrote:

> the error is not on sorting, it is on:
> 
> _table.DrawColumns
> 
> some error in an object reference... odd... only when ascending, the
> descending sort works.
> _______________________________________________
> 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