Doesn't really make sense to me because that's all we do when we are
uploading a file.
<CFOBJECT COMPONENT="components.product"
NAME="Session.objProduct">
<CFINVOKE COMPONENT="#Session.objProduct#"
METHOD="SaveProduct"
argEditMode="#Form.txtEditMode#"
argProductID="#Form.txtProductID#"
argTitle="#Form.txtTitle#"
argDescription="#Form.txtDescription#"
argTitleFR="#Form.txtTitleFR#"
argDescriptionFR="#Form.txtDescriptionFR#"
argPrice="#Form.txtPrice#"
argSalePrice="#Form.txtSalePrice#"
argPhoto="#Form.txtPhoto#"
argThumbnail="#Form.txtThumbnail#"
argSalePairID="#Form.lstSalePairID#"
argHomePage="#Form.chkHomePage#"
argReleaseDate="#releasedate#"
argAbstract="#Form.txtAbstract#"
argAbstractFR="#Form.txtAbstractFR#"
argFeatured="#Form.chkFeatured#"
argHomeOrder="#Form.txtHomeOrder#"
argURL="#Form.txtURL#"
returnvariable="arrErrors"
>
Then the actual function picks up the form field just fine. The only
difference for us is we use a custom tag within the function that will
automatically grab and delete the old fine and then store the name of
the new file in the DB.
Trevor Holm-Laursen
eBusiness Developer, FCS
Direct: (902)463-5953
FCS (Fundy Computer Services Ltd.)
Tel 877-993-8636
Fax 902-484-5887
Email: [EMAIL PROTECTED]
Website: http://www.fcsatlantic.com
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).
An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]