Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Dicky #1
Loop and ID's
Hi, I'm trying to reference the row ID using a loop and query. I was thinking
some thing like this would work (although it doesn't) <cfquery name='getTerm'
datasource='myData'> SELECT myID, term FROM myTable </cfquery> <cfloop
query='getTerm'> <cfset term#myID# = '#term#'> </cfloop> If anyone know what I
am doing wrong I would appreciate the help. Thanks, Richard
Dicky Guest
-
Is there any value in ID's Wildcard S&R ?
I can think of no scenerio in which a wildcard search should not return the initial value of the searched character. As it works now, a wildcard S&R... -
Windows Event ID's
Wondering if anyone has a list of all the event ID's for the Security and System Logs. Chris -
control ID's
Hi, My web page loads the controls dynamically using Page.LoadControl("~/myControls/myControl.ascx") The control myControl.ascx contains... -
display COM+ process id's in an asp page
Making a good old fashioned asp page and need to be able to display the IIS COM+ process id's (i.e. those that show up when attaching to a process... -
Custom DataGrid: Multiple ID's
I am making a custom DataGrid, that i inherit from DataGrid. The custom DataGrid is customized to be editable, so there is always an edit column. ... -
Dicky #2
Loop and ID's
Hi, I'm trying to reference the row ID using a loop and query. I was thinking
some thing like this would work (although it doesn't) <cfquery name='getTerm'
datasource='myData'> SELECT myID, term FROM myTable </cfquery> <cfloop
query='getTerm'> <cfset term#myID# = '#term#'> </cfloop> If anyone know what I
am doing wrong I would appreciate the help. Thanks, Richard
Dicky Guest
-
Dicky #3
Re: Loop and ID's
This one is now solved:
<cfloop>
<cfset dynName = 'term' & '#myID#'>
<cfset '#dynName#' = '#term#'>
</cfloop>
<cfoutput>#term1#</cfoutput>
Dicky Guest



Reply With Quote

