That works good enough for me! Thanks for your late-night help! Jim
-----Original Message----- From: Jennifer Larkin [mailto:[EMAIL PROTECTED]] Sent: Friday, January 18, 2002 2:22 AM To: CF-Talk Subject: Re: CFFILE/VARIABLES - Dumb Question At 02:13 AM 1/18/02 -0600, you wrote: >No question is too dumb until you read below. I don't know if I am just >having a brain fart or what, I am still new to CF but I should know >this: > >I am uploading a file to my server using <CFFILE> then I want to write >the location of the file to the database in this format: > >#cffile.ServerDirectory#/#cffile.serverFile# > >My current <CFINSERT>/<CFSET> looks like: > ><CFSET uploadedFile="#cffile.ServerDirectory#/#cffile.serverFile#"> ><cfinsert datasource="test" > TABLENAME="Table1" > formFields = >"vehicleType,modelYear,manufacturerName,vehicleDescription"> > >How do I get it to pull the value from my variable and put it into the >database using <CFINSERT> or other method? Right now it is just >inserting form values from the previous page. I'm not sure that it's the best solution, but have you tried <cfset form.uploadedFile="#cffile.ServerDirectory#/#cffile.serverFile#"> Now available in a San Francisco Bay Area near you! http://www.blivit.org/mr_urc/index.cfm http://www.blivit.org/mr_urc/resume.cfm ______________________________________________________________________ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists