Form fields:
<input type="HIDDEN" NAME="id" VALUE=#id#>
<input type="HIDDEN" NAME="FName" VALUE="#form.FName#">
<input type="HIDDEN" NAME="LName" VALUE="#form.LName#">
<input type="HIDDEN" NAME="Address1" VALUE="#form.Address1#">
<input type="HIDDEN" NAME="Address2" VALUE="#form.Address2#">
<input type="HIDDEN" NAME="City" VALUE="#form.City#">
<input type="HIDDEN" NAME="State" VALUE="#form.State#">
<input type="HIDDEN" NAME="Zip" VALUE="#form.Zip#">
<input type="HIDDEN" NAME="Country" VALUE="#form.Country#">
<input type="HIDDEN" NAME="Email" VALUE="#form.Email#">
<input type="HIDDEN" NAME="Phone" VALUE="#form.Phone#">
<input type="HIDDEN" NAME="ShipWeight" VALUE="#form.ShipWeight#">
<input type="HIDDEN" NAME="Shipping" VALUE="#form.Shipping#">
<input type="HIDDEN" NAME="OrderID" VALUE=#form.OrderID#>
<input type="HIDDEN" NAME="OrderTotal" VALUE="#OrderTotal#">
<input type="HIDDEN" NAME="GrandTotal" VALUE='#TRIM(NumberFormat(GrandTotal,"999999999.99"))#'>
<input type="HIDDEN" NAME="remembercc" VALUE="off">
<cfif #parameterexists(salestax)#>
<input type="HIDDEN" NAME="salestax" VALUE='#salestax#'>
<cfelse>
<input type="HIDDEN" NAME="salestax" VALUE="">
</cfif>
</cfoutput>
<input type="HIDDEN" NAME="CCNumber_Required" VALUE="Please enter your credit card number">
Update:
UPDATE Customers
SET CustFName='#form.FName#',
CustLName='#form.LName#',
CustPhone='#form.Phone#',
CustEMail='#form.Email#',
CustAddress1='#form.Address1#',
CustAddress2='#form.Address2#',
CustCity='#form.City#',
CustState='#form.State#',
CustZip='#form.Zip#',
CustCountry='#form.Country#',
LastOrderID=#form.OrderID#,
LastOrderDate='#DateFormat(Now(),"MM/DD/YY")#',
LastOrderAmt=#GrandTotal#,
CCName='#form.CCName#',
CCType='#form.CCType#',
CCNum='#form.CCNumber#',
CCExpires='#ccexpires#'
<cfif #form.remembercc# CONTAINS "on">
,CustPWord = '#form.custpword#'
</cfif>
WHERE CustID = #form.id#
</cfquery>
Chris Scott
The Whole Computer Medical Systems