This article was previously published under Q208511
Moderate: Requires basic macro, coding, and interoperability skills.
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.
View products that this article applies to.
Macro Name Action ----------------------- Set SetValue UnSet SetValue Subform Flag Actions ----------------------- SetValue Item: [Subform Flag] Expression: True SetValue Item: [Subform Flag] Expression: False
Form: MyForm Text Box: Subform Flag Name: Subform Flag Visible: No Default Value: False
Form: MyForm Subform OnEnter: Subform Flag.Set OnExit: Subform Flag.UnSet
Condition Action ----------------------------------------- Parent![Subform Flag] = False StopMacro
MacroName Action -------------------- Test MsgBox Test Actions -------------------- MsgBox Message: Testing!
Form: Orders Subform OnEnter: Test OnExit: Test
Keywords: KB208511, kbprb