Yeah you have to use the addQuery method on the response object, it returns
an implementation of the Query abstract class...
String[] columns = {"A", "B", "C"};
Query query = response.addQuery("queryName", columns);
..
int row = query.addRow();
query.setData(row, "A", "value");
..
++++++++++++++++++++++++++++++++++++++++++++++++++
Pete Freitag ([EMAIL PROTECTED])
CTO, CFDEV.COM
ColdFusion Developer Resources
http://www.cfdev.com/
-----Original Message-----
From: VAN VLIET, SCOTT E (SBCSI) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 2:09 PM
To: CF-Talk
Subject: Java CFX Question
Can you create a new query in a Java CFX, or can you only modify a passed
query reference? When I try to create a query object, I receive an error
message saying that com.allaire.cfx.Query is only an abstract, and cannot be
instanciated.
Any thoughts?
TIA.
Scott
--
Scott Van Vliet
Senior Analyst
SBC Services, Inc.
ITO Enterprise Tools
Office: 858.886.3878
Pager: 858.536.0070
Email: [EMAIL PROTECTED]
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists