Results 1 to 3 of 3
  1. #1
    Z1nkstar's Avatar
    Z1nkstar is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Mar 2014
    Location
    TX, USA
    Posts
    145

    Can access grab a file and move it to another Drive???


    Okay I have an access database that is shared with 15+ people it is split oriented it has a front side (Which is the file I want to move) and that is located on a drive on a server then there is the backend (Which is located on the same drive) the users only get a copy of the front end so I was wondering If I could make a button that will copy that file from drive X:\DLDB\DLDB.accdb and send it to there documents or even the desktop would be considerable . . . Then close out Access so that they can open the Updated Version???

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    Check out FileCopy in VBA help.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Z1nkstar's Avatar
    Z1nkstar is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Mar 2014
    Location
    TX, USA
    Posts
    145
    Private Sub Command0_Click()
    Dim STA As String
    Dim GDE As String


    STA = "X:\DLDB\DLDB.accdb"
    GDE = "C:\Users\michael\Desktop"


    FileCopy STA, GDE


    End Sub

    I Done it like this but also like this and neither work

    FileCopy "X:\DLDB\DLDB.accdb", "C:\Users\michael\Desktop"


    FileCopy STA, GDE

    Am I doing Something wrong well also with the first one I get permission denied is there anything I can do about that?

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

Similar Threads

  1. Replies: 2
    Last Post: 11-19-2013, 11:44 AM
  2. Replies: 4
    Last Post: 10-30-2012, 02:54 PM
  3. Replies: 10
    Last Post: 03-04-2012, 12:17 AM
  4. View .txt file on hard drive
    By nfaunt in forum Programming
    Replies: 0
    Last Post: 04-04-2011, 09:49 AM
  5. Have access rename a .txt file and move it
    By dh010010 in forum Programming
    Replies: 5
    Last Post: 07-22-2010, 10:49 AM

Tags for this Thread

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