<cfif> statements around the form elements. Something
like:
<cfif not IsDefined("query.Result1")>
--YOUR FORM ELEMENT STATEMENT --
</cfif>
Obvsiously, this is simplified, and you could do the check on
session or other variables (i.e. - set them when the query is run
successfully, etc.) , etc.
- Mike