Invokes a dialogue to make a copy of a file.
Call(‘GxCopyFile’, Source, Target[, Ret-value]) | [Ret-value =] GxCopyFile(Source, Target)
Where:
Source
Character type. Is the input file name.
Target
Character type. Is the ouput file name.
Ret-value
Numeric type. Is the error code returned by the function.
Type Returned:
Numeric
Objects: Procedure, Transaction, Work Panel
Generators: .NET, Java, Visual FoxPro (up to GeneXus X Evolution 3)
In order to use the second syntax, the Standard Functions property at Object level must be set with the value “Allow non-standard functions”.
Event 'CopyFile'
Call('GxCopyFile', &source, &target)
EndEvent
Event 'CopyFile'
&ret = GxCopyFile(&source, &target)
EndEvent
Common dialog functions