Results 1 to 3 of 3
  1. #1
    rbtrout is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2011
    Posts
    15

    Deleting a non-Access file

    I've written a routine that imports a .csv file into Access. Once imported I need to delete that same .csv file. Is there a way to do that from inside my program?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,602
    Yes, use Kill, like:

    Kill filepath\filename
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    rbtrout is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2011
    Posts
    15
    Thanks, I'll give that a shot and let you know.

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

Similar Threads

  1. Replies: 11
    Last Post: 12-14-2010, 01:25 PM
  2. Deleting a file
    By fiamma68 in forum Access
    Replies: 3
    Last Post: 11-07-2010, 06:10 PM
  3. Replies: 1
    Last Post: 09-27-2010, 10:10 AM
  4. Replies: 2
    Last Post: 01-14-2008, 12:15 PM
  5. Replies: 0
    Last Post: 11-28-2005, 01:04 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