The CFSET Somewhat works but is generating 3 sets of numbers rather than one.
-----------------------------------------------------
Here is the CFSET:
-----------------------------------------------------
<cfset TotalNet = "#GetDealer.Accrued# - #GetDealer.Used# = #DollarFormat(GetDealer.Accrued -GetDealer.Used)#">
-----------------------------------------------------
Here is The Output:
-----------------------------------------------------
<CFOUTPUT query="GetDealer">
<TD>#Distributor#</TD>
<TD width="50"><INPUT name="Accrued" type="text" style="border:1px ##CCCCCC solid" value="#Accrued#"></TD>
<TD width="50"><INPUT name="Used" type="text" style="border:1px ##CCCCCC solid" value="#Used#"></TD>
<TD width="50"><CFOUTPUT>#TotalNet#</CFOUTPUT></TD>
<CFIF GetDealer.Distributor EQ "*Anesthesia Services & Products"><TD width="100"><INPUT name="RebateAccrual" type="text" style="border:1px ##CCCCCC solid" value="#RebateAccrual#"></TD><CFELSE></CFIF>
<TD align="center"><INPUT name="Add" type="submit" value="Add" style="border:1px ##CCCCCC solid"></TD>
</CFOUTPUT>
-------------------------------------------------------
This is what I get: (showing just Net Column)
-------------------------------------------------------
NET
6000.0000 - 2650.0000 = $3,350.00
--------------------------------------------------------
Notice how it generates all 3 numbers? I just want it to show the "$3,350.00"
---------------------------------------------------------
Thanks for your input;
WilcoHEAD