Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
xSeanx #1
Complicated variable
I have a database query, which i output and also use 2 loops in.
optionx and qtyx are loop index's.
i want to use those loop index's to output a value that is in the db query.
eg: in the database there is a table column called Product13
the value of optionx has looped to 1 and qtyx looped to 3.
how can i display the value of this column through something like
Product#optionx##qtyx#
xSeanx Guest
-
Complicated Image Map + Rollover
I have a jpg of a map and I'm trying to create a image map on top of that with lots and lots of hotspots which when clicked pop up text which does... -
Complicated text flow
Please see the this example at <http://iwillglo.com/practice/overset.html> I have a journal that is set up as shown in the example with article... -
Complicated Insert
I have several rows of data in a table which i want to insert into only 1 row in another table. Is it possible to do an insert query from a select... -
pattern need help... so complicated
hi, need some help over how to create this pattern... <http://img47.photobucket.com/albums/v144/kylekwan/pattern.jpg> I'm using AI 10. Have... -
A bit more complicated....
can any one help me with this ? if i press the button refresh in my browser my movie stop playing i tried to insert a rewind in my script but it... -
BSterner #2
Re: Complicated variable
You can use the "Evaluate" function for variable variable names.
#Evaluate("Product" & optionx & qtyx)#
Can you provide a bit more information on what exactly is going on. Seems
like there should be a better way to accomplish what you're trying to do.
BSterner Guest
-
Adam Cameron #3
Re: Complicated variable
> Product#optionx##qtyx#
queryName["Product#optionx##qtyx#"][row]
Don't use evaluate() if you can possibly avoid it (generally you CAN avoid
it): it adds a lot of processing overhead.
--
Adam
Adam Cameron Guest



Reply With Quote

