here's the code, fairly straightforward...
<cfquery name="insertClient" username="#application.username#"
password="#application.password#" datasource="webCollect">
insert into clients
(company, contact)
values
(<cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.company#">,
<cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.contact#">
)
</cfquery>
thanks.
tony
--
tony
Tony Weeg
macromedia certified coldfusion mx developer
email: tonyweeg [at] gmail [dot] com
blog: http://www.revolutionwebdesign.com/blog/
cool tool: http://www.antiwrap.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187995
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54