PRB: CTRL+' Does Not Trigger Update Events in Datasheet ViewArticle ID: Q109328
SYMPTOMS
RESOLUTION
If you need to trigger update events for a control on a form that will be used in Datasheet view, such as a subform, create the form with a tabular look and set the DefaultView property of the form to Continuous Forms. This will produce a form that appears to be in Datasheet view, but will allow the update events to be triggered. If you need to trigger update events for a control on a form that will be used in both Form view and Datasheet view, use a key assignment macro like Autokeys to select the field in the previous record, copy the value found there, return to the current record, and paste the value. STATUS
MORE INFORMATION
Note that the message box does not appear, meaning that the AfterUpdate event was not triggered. Repeating steps 6-7 with the form in Form view will cause the message box to appear. |
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: 1.00 1.10
KBCategory: kbusage
KBSubcategory: FmsEvnt