Answered
Looping to add qty inside a cfoutput
I'm having trouble with outputing from one table, but also
have a cfloop to add data from another table to display on the same
cfoutput id..if that made sense.
See Code.
Also, for some reason if there is more than one record listed, it stops at the first record at totalrel & says
"The value '' cannot be converted to a number.' for line <cfset totalR = totalR + getallR.rqty>
But, if only one record, the whole thing is displayed fine (except knowing to add ALL qty's..not just keeping the last)
It's very annoying.
What is wrong w/ this?
See Code.
Also, for some reason if there is more than one record listed, it stops at the first record at totalrel & says
"The value '' cannot be converted to a number.' for line <cfset totalR = totalR + getallR.rqty
But, if only one record, the whole thing is displayed fine (except knowing to add ALL qty's..not just keeping the last)
It's very annoying.
What is wrong w/ this?
