Re: Setting focus to main form
- From: "Albert D. Kallal" <PleaseNOOOsPAMmkallal@xxxxxxx>
- Date: Wed, 24 Dec 2008 06:08:17 -0700
You have to set the focus to a control.
try
me.parent.NameOfControl.SetFocus
me.visible = false
The above syntax should work.
You 1st line of code needs to be changed.
You 2nd line of code may work as written...
Forms("frm_menu")!frmBKBox.Visible = False
So, just set the focus to an actual control on the main form, and that
should do the trick...
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@xxxxxxx
.
- Follow-Ups:
- Re: Setting focus to main form
- From: Afrosheen via AccessMonster.com
- Re: Setting focus to main form
- References:
- Setting focus to main form
- From: Afrosheen via AccessMonster.com
- Setting focus to main form
- Prev by Date: Setting focus to main form
- Next by Date: Re: Setting focus to main form
- Previous by thread: Setting focus to main form
- Next by thread: Re: Setting focus to main form
- Index(es):
Relevant Pages
|