Kill FileNameIncPath >> Will delete a local file
eg.
BackEnd = CurrentProject.Path & "\Database_BE.mdb"
Kill BackEnd
FileCopy NewFileNameIncPath, LocalFileNameIncPath >> will copy a file to a specified location
eg.
serverpath = "P:\Backup\Database.mdb"
servercopy = CurrentProject.Path & "\Database.mdb"
FileCopy servercopy, serverpath
Name FileNameIncPath As NewfileName >> will rename an existing file name
eg.
BackEnd = CurrentProject.Path & "\Database.mdb"
Name BackEnd As BackEnd & ".bak"
HTH << MaZeWorX >> Remember amateurs built the ark - professionals built the Titanic [flush]