Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Apr 2003
    Location
    Calgary, Alberta
    Posts
    327
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Copy File To Another Location (Access 2000)

    In my form, I have the user reference a file to get the content from (for other forms). When that happens, is there a way to copy the file selected by the user to the location that I want it stored automatically?

    Thanks

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Copy File To Another Location (Access 2000)

    You can use the FileCopy instruction. Its general form is FileCopy source, destination. Example:

    FileCopy "C:ExcelMyData.xls", "C:AccessTestData.xls"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •