Scratch that. The code is good, I just wasn't passing
variables to the code correctly.
Opps.
Thanks
All,
This simple process worked for me 10 minutes ago and now
it's throwing an error message ... I just can't see the
problem. I need a second pair of fresh eyes.
Thanks
***THE
For one, I would print out the values prior to calculating the total. Also, I would
not use quotes and would strip out the hashes
in the calculation. In this way, if a value is a non-numberic you'll see the error
before you get to the final sum, like so:
cfset q1_qnty_1A =
On the surface, nothing appears to be the matter. You don't need all those
# signs in your code, and taking them out will make things a bit more
readable. The revised code appears below. A good article by Ben Forta on
when to use and not to use # signs is at
3 matches
Mail list logo