Occurs after the COPY PROCEDURE command has completed. There are two versions of the syntax.
PROCEDURE dbc_AfterCopyProc(cFileName, nCodePage, lAdditive)
LPARAMETERS cFileName, nCodePage, lAdditive
Specifies the name of the text file to which the stored procedures were copied.
Specifies the code page of the program file to which the stored procedures are copied. Visual FoxPro copies the contents of the stored procedures in the database and, as it does so, automatically converts those contents to the code page you specify.
Specifies whether the ADDITIVE keyword was included in the COPY PROCEDURE command that triggered this event. If ADDITIVE was omitted, the stored procedures replaced the contents of the program file.
|В ||Copy Code|
* Reports to the screen Event name, where it is called from and ;
* the parameter passed.
PROCEDURE dbc_AfterCopyProc ;
? '>> ' + PROGRAM()
?? ' in ' + SUBSTR(SYS(16),RAT('\',SYS(16))+1)
? ' Current DBC: ' + SUBSTR(DBC(),RAT('\',DBC())+1)
? ' cFileName = ' + TRANSFORM(cFileName) + ' - ' ;
? ' nCodePage = ' + TRANSFORM(nCodePage) + ' - ' ;
? ' lAdditive = ' + TRANSFORM(lAdditive) + ' - ' ;
+ TYPE('lAdditive')+' /end/ '