PRB: Form Name Error Message Using Data Outline ControlArticle ID: Q118793
SYMPTOMS
When you double-click a row in your data outline control, you may receive the following error message: Action requires a Form Name argument CAUSE The data outline control's FormName property for that level is blank. RESOLUTION
Sub Outline_RequestFormOpen (Cancel As Integer, Level As Integer) Dim L As Object Set L = Me![Outline].Object.Levelinfos If L(Level).Formname = "" Then Cancel = True End Sub This procedure prevents the data outline control from trying to open the form if the FormName property is blank.
MORE INFORMATION
REFERENCES For more information about the RequestFormOpen event, search for "RequestFormOpen," and then "RequestFormOpen Event" using the Data Outline Control Help file that is included with the Microsoft Access Developer's Toolkit version 2.0. Microsoft Access Developer's Toolkit "Advanced Topics," version 2.0, Chapter 6, "Using OLE Custom Controls," pages 163-175 |
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
©1997 Microsoft Corporation. All rights reserved. Legal Notices.
Additional reference words: 2.00
KBCategory: kbinterop kberrmsg
KBSubcategory: IntpCstm