If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Upload Pictures to Access using ASP

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-20-03, 23:27
sajeed sajeed is offline
Registered User
 
Join Date: May 2003
Posts: 16
Upload Pictures to Access using ASP

Hi,

I have a small access 2000 database for my inventory in asp, I only have 2 fields, name & partnumber. I want to be able to add pictures with it. On my additem.asp page, I should be able to type name, partnumber and add a picture using the browse button and pointing to my local picture folder, and then uploading it to the server. And then whenever I query something, the results.asp page should show the item with partnumber, name and picture. Can anyone help me with this?

Thanks
Reply With Quote
  #2 (permalink)  
Old 09-21-03, 02:42
unatratnag unatratnag is offline
Registered User
 
Join Date: Jul 2003
Location: Ohio/Chicago
Posts: 75
sure, what's your problem?
Reply With Quote
  #3 (permalink)  
Old 09-23-03, 02:35
Bullschmidt Bullschmidt is offline
Guru
 
Join Date: Jun 2003
Location: USA
Posts: 1,032
The Anonymous Internet user needs Change permission on the folder that a file is going to be uploaded to and actually Full Access might be better if you are later going to use the FileSystemObject to delete a file.

And whatever file uploading solution you use, on the page in question you will no longer be able to refer to regular form fields with Request.Form("MyField"). Instead there will be some kind of proprietary way to refer to the fields.

Here is a resource for letting the user upload a file which is something that was unfortunately not built into ASP:

ASP File Upload Using VBScript by John R. Lewis - 7/10/2000
http://www.aspzone.com/articles/john/aspUpload
__________________
J. Paul Schmidt, Freelance Web and Database Developer
www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On