I think this is what you are tring to do.

<CFQUERY NAME="somequery" DATASOURCE="somedatasource">
        SELECT id FROM sometable
</CFQUERY>

<CFSET foo = ValueList(somequery.id)>

Mark

-----Original Message-----
From: Dan Donnick [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 01, 2000 5:01 PM
To: CF-Talk
Subject: var output to list


What would the correct syntax be to output and id and then from that output
create a list of the variables returned?

______________________________

Dan Donnick
Cold Fusion Developer
Bixler Incorporated
1250 24th Street NW
Suite 250
Washington, DC 20037
P: (202) 686-5800
F: (202) 686-5801
______________________________

----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to