Thanks for all the help guys. Learned a lot from the thread. Good stuff.
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusio
You're correct - it's also just a number, not the whole row of a
query, when looping with cfoutput or cfloop.
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/
2009/9/2 Azadi Saryev :
>
> On 02/09/2009 10:06, Jason Fisher wrote:
>> currentRecord is a property of a
it depends on what type of 'structure' it is:
if your currentrecord.ITEM_NAME is an array, then get its individual
elements as currentrecord.ITEM_NAME[cartentry]
but if ITEM_NAME1, ITEM_NAME2, ..., ITEM_NAMEx are keys in your
currentrecord structure, then do as others said:
currentrecord['ITEM_N
On 02/09/2009 10:06, Jason Fisher wrote:
> currentRecord is a property of a query, not a query itself and you don't need
> it to loop over a query = use the cfoutput syntax to loop over your query:
>
>
> #item_name#
>
>
i thought the query's property was currentRow, not currentRecord... am
Oh, right. Or if he's just trying to address one row in a query result set,
he'd need something like this for row 35:
#myQuery.["ITEM_NAME" & cartentry][thiscurrentrecord]#
...and, of course, if myQuery.["ITEM_NAME" & cartentry] is coming out of the
database, that database is *not* in 3rd no
Or #currentRecord["item_name" & cartEntry]#
On Tue, Sep 1, 2009 at 7:22 PM, David McGuigan wrote:
>
> #currentRecord[ "item_name#cartEntry#" ]#
> You don't even need to assign it to currentEntry.
>
>
>
> On Tue, Sep 1, 2009 at 6:15 PM, Matthew Smith
> wrote:
>
> >
> > I am trying to do this, re
currentRecord is a property of a query, not a query itself and you don't need
it to loop over a query = use the cfoutput syntax to loop over your query:
#item_name#
~|
Want to reach the ColdFusion community with something
#currentRecord[ "item_name#cartEntry#" ]#
You don't even need to assign it to currentEntry.
On Tue, Sep 1, 2009 at 6:15 PM, Matthew Smith wrote:
>
> I am trying to do this, referencing the currentrecord structure:
>
>
>#currententry#
>
>
> what is the syntax?
>
>
~
I am trying to do this, referencing the currentrecord structure:
#currententry#
what is the syntax?
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion ma
9 matches
Mail list logo