I may not quite understand, but here's what I do; hopefully
you can "translate it" to what you are doing specifically.
Let's assume the form has passed the variable "numstore".
<cfquery name="checkforalreadythere"
datasource="mydatasource">
SELECT numstore
FROM table1
WHERE numstore = '#numstore#'
</cfquery>
<cfif checkforalreadythere.RecordCount GT 0>
JUST PUT YOUR UPDATE QUERY HERE
<cfelseif checkforalreadythere.RecordCount GT )>
JUST PUT YOUR INSERT QUERY HERE
<cfelse>
JUST PUT ANYERROR HANDLING HERE
</cfif>
Anyway, lemme' know!
- Mike