Hello all,
              I am using this code to find the fields in the table & i want
to dynamically generate the output.

<cfquery Name="Get_fields" datasource="Personal">
Select * from  table_name
</cfquery>
<cfoutput>
<cfset x=#ListLen(Get_Fields.ColumnList)#>
#x#<br>
</cfoutput>
<cfloop index="z" from="1" to="#x#">
<cfset output=#GetToken(Get_Fields.ColumnList, #z#, ",")#>
    <cfoutput>#output#</cfoutput>
</cfloop>

how can i output the fields of the table, i tried different things, cant get
it to work.
Thanks inadvance, appretiate it.

Joe



------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to