actually.. the latest nightly build seems to have fixed it.. straaange..
On Feb 5, 8:17 am, Alan Williamson <[email protected]> wrote: > okay great thanks. I suspect something from the database query isn't > quite right. > > Do me a favour and i know it may sound silly, but i've seen this if your > driver is setup or db charset is setup differently. > > Can you wrap your 'varchar' columns with a ToString() call and try it? > > eg results.resultset.result[i].link=ToString( content.link[i] ) > > Bill Berzinskas wrote: > > Heres an example of the object I'm trying to serialize. "content" is > > a query and then i turn it into this which differs slightly from the > > results produced by the serializeQueryByColumn function.. I'm going > > to experiment with the standard results a bit and see how it plays > > with YUI.. just wanted to spur some conversation on this before i > > opened a bug.. :-) > > > results = structnew(); > > results.resultset.result=arraynew(1); > > results.recordsReturned=content.recordcount; > > results.totalRecords=content.recordcount; > > results.startIndex=0; > > > for(i=1;i lte content.recordcount;i=i+1){ > > results.resultset.result[i]=structnew(); > > results.resultset.result[i].memberid=content.memberID[i]; > > results.resultset.result[i].contentid=content.contentID[i]; > > results.resultset.result[i].contentType=content.contentType[i]; > > results.resultset.result[i].link=content.link[i]; > > results.resultset.result[i].image=content.image[i]; > > results.resultset.result[i].title=content.title[i]; > > results.resultset.result[i].datecreated=content.datecreated[i]; > > results.resultset.result[i].approved=yesnoformat(content.approved > > [i]); > > results.resultset.result[i].flagged=yesnoformat(content.flagged[i]); > > } > > --~--~---------~--~----~------------~-------~--~----~ Open BlueDragon Public Mailing List http://groups.google.com/group/openbd?hl=en official site @ http://www.openbluedragon.org/ !! save a network - trim replies before posting !! -~----------~----~----~----~------~----~------~--~---
