Hi,
I'm trying to delete all the files from a folder once I've copied it to another location. Now stuck at trying to find a code to do the deletion. Tried deleteFile function, also object.delete,
something like this:
Help?
I'm trying to delete all the files from a folder once I've copied it to another location. Now stuck at trying to find a code to do the deletion. Tried deleteFile function, also object.delete,
something like this:
Code:
dim myObject as object
set myObject=me.path 'path contains the pathway to the file I want to delte
myObject.delete 'doesn't work the way the access help said it's supposed to
Help?