Results 1 to 3 of 3
  1. #1
    Alphix is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2014
    Posts
    61

    I Need A Upload Browser File Box, Please Help :-( (Access 2010)

    I am racking my brain on how to do this. How can I call up a upload browser file box?

    Actions:
    (01) The user clicks on the button
    (02) A upload message box pops up
    (03) User presses the browser button to find the file to be uploaded
    (04) User presses upload
    (05) The file is transfered to an unseen folder location for storage

    The Main Access database file is held on the main network location.
    The saved uploaded files held in a different location.

    Please see attachment:
    Example Upload.zip (19.5 KB)




    Edit Post: 03-11-16
    There was an error. I have tried other coded buttons with no success.

    I have thought more of what actions I want from this.

    I want the user to click the button
    Browse for a file
    Select the file
    The file is transferred to another location folder for storage.
    The dialog box closes.

    It is almost like when we click the browse button on this forum when we want to upload an attachment.
    Except instead the file is not saved to the database but transferred to the off located folder.

    Is it possible that this can be done? Please Help :-(
    Example Upload Button.zip
    Attached Files Attached Files
    Last edited by Alphix; 03-11-2016 at 09:43 AM.

  2. #2
    vicsaccess's Avatar
    vicsaccess is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Apr 2015
    Posts
    451
    what i'm not understanding is where are the files coming from that need to be uploaded to an external file?

  3. #3
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    but transferred to the off located folder
    Not sure if you want a copy or a move to happen....

    I modified your code to move a file to a different location on your network. See the comments to change it to a copy.

    Also, you will need to change the destination path to your destination path.

    You can use a mapped (local) drive path:
    Const NewFilePath As String = "F:\Forum\Example Upload"

    or use the Network path:
    Const NewFilePath As String = "\\Server1\Archive1"
    Attached Files Attached Files

Please reply to this thread with any new information or opinions.

Similar Threads

  1. MS Access 2010 VBA - Upload to SharePoint 2013 Doc Lib
    By dave.stuart in forum SharePoint
    Replies: 9
    Last Post: 08-30-2017, 02:02 PM
  2. Replies: 9
    Last Post: 11-22-2015, 11:19 AM
  3. Replies: 1
    Last Post: 02-23-2015, 06:15 AM
  4. upload a file
    By newbieaccess in forum Access
    Replies: 1
    Last Post: 08-24-2014, 09:41 AM
  5. Upload file inside .mdb database file
    By havish in forum Access
    Replies: 0
    Last Post: 07-30-2008, 07:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums