Partager via


dbc_AfterDropOffline Event

Occurs after DROPOFFLINE( ) has completed. There are two versions of the syntax.

PROCEDURE dbc_AfterDropOffline(cViewName, cPath) 

PROCEDURE dbc_AfterDropOffline
LPARAMETERS cViewName, cPath

Parameters

  • cViewName
    Specifies the name of the offline view taken back online.

  • cPath
    Specifies the directory in which the offline view is located.

Remarks

You can use the dbc_AfterDropOffline event to track access to the database after an offline view is taken back online.

Example

* Reports to the screen Event name, where it is called from and ;
* the parameter passed.
PROCEDURE dbc_AfterDropOffline ;
         (cViewName,;
          cPath)
? '>>   ' + PROGRAM()
?? ' in ' + SUBSTR(SYS(16),RAT('\',SYS(16))+1)
? '     cViewName = ' + TRANSFORM(cViewName) + ' - ' ;
                  + TYPE('cViewName')
? '     cPath     = ' + TRANSFORM(cPath)     + ' - ' ;
                  + TYPE('cPath')+' /end/ '
ENDPROC

See Also

Tasks

How to: Enable or Disable DBC Events

Reference

dbc_BeforeDropOffline Event

Other Resources

Events (Visual FoxPro)