Hi all,
I have an application which contains a function to move a folder (possibly with several sub folders in it and various file types). Here's the code...
IF fMoveDir(JOB.FolderLocation,sArchivedir,frConfirm+frRecursive+frProgress) THEN
JOB.JobStatus = gnjobstatusarchived
JOB.ArchiveFolderLocation = sArchivedir
JOB.FolderLocation = ""
HModify(JO
HTransactionEnd
Info("Job " + JOB.JobNumber + " has been Archive to folder " + sArchivedir)
ELSE
Error(ErrorInfo(errFullDetails)+CR+CR+"copy this message and contact Support")
HTransactionCancel
RETURN
END
This all works fine except for one particular folder, where the move fails with an error code 80064. The error message says to check if any files etc are open and if the user has sufficient rights, both of which I've eliminated as causes.
Does anyone have any other suggestions as to why this error might be happening?
Many thanks
Reg