That worked. Thanks. :)
Dominic Watson wrote:
> Ah, sorry I didn't test it!
>
> You will need to use: position[field][currentRow].
>
> The currentRow is relative to the query that is being looped (with cfoutput
> or cfloop) so you can use that instead of your count variable.
>
> Dominic
>
>
>
Ah, sorry I didn't test it!
You will need to use: position[field][currentRow].
The currentRow is relative to the query that is being looped (with cfoutput
or cfloop) so you can use that instead of your count variable.
Dominic
On 01/01/2008, Phillip M. Vector <[EMAIL PROTECTED]> wrote:
>
> Th
Thanks..
When I do that, I get Complex object types cannot be converted to
simple values.
When I try the second solution, I get ..
cannot convert the value of type class coldfusion.sql.QueryColumn to a
boolean
Any ideas? :)
Dominic Watson wrote:
> Hi Philip, instead of doing:
>
>
>
> D
Hi Philip, instead of doing:
Do:
Also, and this is personal preference, you can treat the 1 or 0 values as
booleans so you could also write it as:
... or ...
Dominic
On 01/01/2008, Phillip M. Vector <[EMAIL PROTECTED]> wrote:
>
> I'm trying to loop over a list of table columns and use
I'm trying to loop over a list of table columns and use the "selected"
option on the select tag to set it yes or no based on the value.. But I
can't seem to figure out how to do this as I can't indent a # within a #
pair.
Any ideas on how to make the check to see if it's 1 or 0 work?
=
5 matches
Mail list logo