Microsoft KB Archive/303832

= BUG: cPath Parameter Is Not Passed to DBC_BeforeDropOffline and DBC_AfterDropOffline =

Article ID: 303832

Article Last Modified on 8/13/2001

-

APPLIES TO


 * Microsoft Visual FoxPro 7.0 Professional Edition

-



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.

Keywords: kbbug kboop kbdatabase kbpending KB303832

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.