Hi everybody,
I implemented copy files using a FAQ by Ed Rauh. I guess, I'm doing something wrong, because I'm getting an error on
=RtlCopyLong(@cString, BITOR(tnNum,0), 4) line. tnNum is undefined at this point.
Here is my code:
lcFile = forceext(alltrim(.list(m.lnI,1)),"*")
if CopyFiles(m.dir_Download+ m.lcFile, ;
m.dir_Lookups+ m.lcFile,'Copy')
erase (m.dir_Download+ m.lcFile)
endif
where m.dir_Download = "G:\REDP\Appl\DataEntry\Data\Download\"
m.dir_Lookups = "G:\REDP\Appl\DataEntry\Data\Lookups\"
and lcFile = ISSUE.*
When I tried it with Move parameter, it returned can not create Issue folder (weird). I'm trying with "Copy" and it gives me this error.
Could you please help?
Thanks in advance.
If it's not broken, fix it until it is.
My Blog