General Suggestions:
Remove the lock around your query
Remove # from coldfusion statements
In your query you have the line:
WHERE id IN (#session.classes#)
This will throw an error if and when the value session.classes is null or not a number.
As far as your error goes - Do this:
<td>
<cfif session.validMember is "yes">
<cfif isNumeric(member_earlybird
#DollarFormat(member_early
<cfset totalFees = totalFees + member_earlybird>
</cfif>
<cfelse>
<cfif isNumeric(non_member_early
#DollarFormat(non_member_e
<cfset totalFees = totalFees + non_member_earlybird>
</cfif>
</cfif>
</td>
Main Topics
Browse All Topics





by: damtrojanPosted on 2006-05-15 at 07:03:43ID: 16682432
Without knowing the output of your query it's hard to trouble shoot but I do have a couple of suggestions.
ybird)" to test or a "versions.recordcount" to make sure you have at least 1 value.
1. I would lose the double quotes on your <cfset totalFees = "0">. Numbers can stand alone like variables. "" usually indicate strings.
2. Make sure your users sessions are not timing out which might give them an empty query which might not break dollarformat, but will break your add script. Use an "isnumeric(non_member_earl
Hope this helps a bit.