"dymondjack" <dymondjack at hot mail dot com> wrote in message
news

136BB51-EBAB-41C2-8EFD-(E-Mail Removed)...
> Check out the FileCopy (Source, Destination) function. You should be able
> to
> include this in your loop to copy the files to a specified archive
> directory.
> Just keep in mind that you need full paths for the Source and Destination
> (the Destination needs to have the filename and extension to save as, not
> just the folder to save to).
Note that if your goal is to copy a file from one location to another, and
then delete the original file, you can use the Name statement to move the
file in one step, rather than copying it and deleting it. I *think* that if
the file is being moved to a new location on the same hard disk, it just
updates the directory entry without moving any data, but it also works to
move the file from one drive to another.
--
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)