Wrox Programmer Forums
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 28th, 2013, 02:50 PM
Registered User
Join Date: Feb 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question Upload file and insert filename into access db

Hi everyone

I am still very new to asp but I am trying to increase my knowledgebase as much as I can.

My question is this:

Is it possible to create a form with an image upload field which, when submitted, uploads the file to a certain directory on the server but also inserts the filename into a table in an access database?

I can insert text into a database no problems, I can upload files to whatever directories I want to, also no problems. However, problems arise when I try to do both at the same time and the form either fails or does nothing at all.

Can anyone help?

Many thanks


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to upload complex xml file to 1 db table vangogh XML 3 October 8th, 2007 04:43 AM
Howto save a Filename uploaded file to db? GigaBear ASP.NET 2.0 Basics 10 June 22nd, 2006 05:10 PM
use filename in access DB with a filepicker paul20091968 VB Databases Basics 0 April 4th, 2006 06:38 AM
How to Upload Access DB to the intranet J.K.W.Y. Access 6 March 29th, 2006 01:49 AM
unable to insert records into access DB bn_sree Access ASP 0 October 8th, 2003 08:38 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.