Access VBADiscuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I am trying to hide a subform once it losses focus. I want the action to occur from the subform I want to hide. I have tried using the LostFocus event but apparently even when the LostFocus event is triggered in the subform, the subform still has focus.
How can I go about hiding this subform when the subform losses focus? I don't want to use any other event in the other subforms, I would really like to accomplish this from the subform I am trying to hide.