The information in this article applies to:
SYMPTOMSIssuing a REPORT FORM PREVIEW command on a report that has the same file name as a form that is running causes the form to lose its object reference. If you attempt to reference the form object in code, this error message appears:
WORKAROUNDIf you have a form called Customer and issue the following command, an object reference named Customer is created for the form:
Preview a report named Customer by issuing the following command:
The customer object now references the Report Preview window. When the
Report Preview window is closed, the customer object is released. Work
around this problem by giving your forms a different object reference than
the reports with the same name. Do this by using the NAME clause in the DO
FORM command. For example, to give the Customer Form an object reference of
Custform, you would issue the following command:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. MORE INFORMATIONSteps to Reproduce Problem
Additional query words: kbvfp300 kbvfp300b kbvfp500 kbvfp500a kbvfp600 kbvfp300bug kbvfp300bbug kbvfp500bug kbvfp500abug kbvfp600bug
Keywords : kbdisplay kbother kbprg kbVFp300bbug kbVFp500abug kbVFp500bug buglist3.00 FxprgGeneral |
Last Reviewed: December 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |