A couple of things.

What column type are you sorting on ?

You can use the undocumented feature  myquery.sort(column) see
http://www.cfdev.com/mx/undocumentation/query.cfm

If you feel the issue is due to the QueryAddRow etc, why not add them after
the sort.

Justin

-----Original Message-----
From: Dave Phipps [mailto:[EMAIL PROTECTED]
Sent: 27 November 2003 11:52
To: [EMAIL PROTECTED]
Subject: [ cf-dev ] QofQ on a QofQ cast error


Hi,

I have a query which I would like to sort.  The main query
is a QofQ with some extra rows added using the
QueryAddRow()/QuerySetCell functions.  I have this
combined query outputting everything I want except that
the order in which the records display is wrong.

I tried to do a QofQ on this recordset and I get the
following error:

Error casting an object of type to an incompatible type.
This usually indicates a programming error in Java,
although it could also mean you have tried to use a
foreign object in a different way than it was designed.

What does this error mean.  Can I not do a QofQ on a
recordset consisting of a QofQ and additional rows?

Anyone come across this before?

Cheers

Dave

--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]



-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to