Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFUPDATE to ignore fields

Status
Not open for further replies.

jmcg

Technical User
Jun 30, 2000
223
GB
IS there a way to have CFUPDATE ignore certain fields in the form.

I am using CFUPDATE as there are too many changeable form fields (of different types) to write the SQL manually, however want to ignore some fields that do not exist in the table.

Is this possible, and if so, how? Thanks
 
IIRC, there are two options:

- Use StructDelete to remove the extra fields from the FORM structure. If you still need some of the value, duplicate(..) the form structure first
- Use an explicit "formFields" list


----------------------------------
 
thanks

will try the formfields to defined rather than exclude. Or better yet spend a few hours and sort it into a proper SQL as CFUPDATE is not very good.

Thanks for the tips anyway.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top