UnsolvedCoding
Technical User
Several of us have been beating our heads against a wall on this one so I was hoping someone would know the answer.
When the first section of code is run - the Copyfile syntax - everything works fine.
'Copy the original database to the destination file
SFSO.CopyFile sFoldername & "\" & sFilename, dFoldername & "\" & dFilename, False
When the movefile synatx is used either it doesn't run or we get permissions denied.
' Move file to new location
SFSO.MoveFile sFoldername & sFilename, dFoldername
The network administrator was brought in to see if there were issues with the permissions on the network and all of us have more permission then is needed but we all have the same problem.
Question - why does the movefile code give a permissions problem but the copyfile code does not?