Re: odd focus behaviour
- From: "Dirk Goldgar" <dg@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 14 Aug 2008 14:34:15 -0400
"TonyT" <TonyT@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:C37244D8-0009-4DCF-9CB2-77115AD69407@xxxxxxxxxxxxxxxx
I have a form that has a combobox that allows the user to select an existing
customer. The afterupdate code sets the rowsource for a second combobox,
makes it visible & sets the focus to said 2nd combobox, BUT, without an error
the focus disappears from any control on the form (the only open form) &
pressing Tab elicits just a 'donk' error sound & focus remains nowhere to be
seen.
Stepping thru the code it works just fine, only at runtime does it fail,
seemingly trying to set the focus whilst requerying or making the second
combobox visible. This works fine on many other OS & office combinations, but
failed today on install on a vista home + office 2007 pro pc, all references
are in place, but I'm wondering if one is corrupt, anyone know which dll
affects focus?
Would you mind posting the code involved? Maybe there's something there that explains what's happening. The only thing I can think of is a hidden error dialog of some sort.
--
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)
.
- Follow-Ups:
- Re: odd focus behaviour
- From: TonyT
- Re: odd focus behaviour
- References:
- odd focus behaviour
- From: TonyT
- odd focus behaviour
- Prev by Date: Re: Multiple Number formats for Form
- Next by Date: RE: Number Generator
- Previous by thread: odd focus behaviour
- Next by thread: Re: odd focus behaviour
- Index(es):
Relevant Pages
|