BUG: cPath Parameter Is Not Passed to DBC_BeforeDropOffline and DBC_AfterDropOffline (303832)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 7.0

This article was previously published under Q303832

SYMPTOMS

Only one parameter (cViewName) is sent to the DBC_BeforeDropOffline and DBC_AfterDropOffline events although the Help topics for these events describe the second parameter (cpath).

CAUSE

The documentation for the DBC_BeforeDropOffline and DBC_AfterDropOffline events incorrectly states that two parameters are passed to these two events. Actually, only the first parameter is passed to the event. Also, note that the prototype for these functions created by the Database Designer Properties dialog box is incorrect. The prototype created by the Database Designer has a LPARAMETERS statement that includes the second cPath parameter.

RESOLUTION

Do not use the second (cpath) parameter.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

Modification Type:MajorLast Reviewed:8/13/2001
Keywords:kbbug kbDatabase kbDSupport kbOOP KB303832