[HELP] Facing a datagrid bug

Trevor DeVore lists at mangomultimedia.com
Tue Aug 16 20:33:21 EDT 2011

On Tue, Aug 16, 2011 at 3:55 PM, Andre Garzia <andre at andregarzia.com> wrote:

> Thanks, I will build the stack here. I isolated the problem to a carriage
> return character in one of the records. The \n character mess up the
> theData
> variable in sortDataByKey and it all breaks down from that database field
> with a CR char in it...
> Does this makes sense?

I think so. Updating the code so that only line 1 of sDataArray[theIndex][pKey]
is added to theData should fix the problem.

Trevor DeVore
Blue Mango Learning Systems
LiveCode Resources for Developers: http://livecode.bluemangolearning.com

More information about the Use-livecode mailing list