That is my preferred method, dynamically building the query based on form
field values or missing values.  More flexibility IMO.

Steven Semrau
SRA International, Inc.
Senior Member, Professional Staff
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Com:  (703) 805-1095
DSN:  (703) 655-1095


-----Original Message-----
From: Marc Garrett [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 24, 2001 10:18 AM
To: CF-Talk
Subject: Re: problem with list box update


Thanks for your help Steven.

I have a lot of optional fields, so writing a different CFUPDATE for each
combination isn't really palatable. Would I be better off using CFQUERY and
dynamically assembling my SQL insert statement based on the changed forms
fields?

Regards,

Marc Garrett

----- Original Message -----
From: "Semrau, Steven L Mr SRA" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, April 24, 2001 9:39 AM
Subject: RE: problem with list box update


> Ok you are running <cfupdate> which, if you don't specify, will be using
all
> form fields to update the db.
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to