i see that i guess i'm just a bit confused about how to do what i'm trying to
do (broadly speaking, make it ez for the user to do their job) but i think
you have misunderstood my approach, so let me 'try' to explicate where it
seems there a disjuncture.
i don't think that the "Me.Title.SetFocus" is unnerving to users -- i have
used it elsewhere to good effect. no complaints spell no worries (i'll grant
you not always, but usually).
the Me.Title = "Enter" is intended to populate the elected control with the
'Enter' value (which i conditionally format turn to display in red text) to
get the user's attention to remind them to 'Enter' something in there. seems
intuitively obvious to me and it's worked in other controls. now on to "You
could set Title.Selected(0) = True so that it'll select the first item in the
list." -- not relevant really, since there are usually many many 'Title's on
the list from which user needs to choose. the only time there's no choice but
one's when user finally 'arrives' at the IRB_Number field by which point it
ought to have been 'automatically' pre-filled.
to reprise, the form sometimes prefills the IRB_Number and at times it does
not besides driving me bonkers makes no sense, since when i research the
values of IRB_Number when it fails to do so, i find there are actually
values which should be used to enter into the IRB_Number control. instead
what i observe in those instances is a blank value when clicking the combo
box's downward facing arrow.
-ted
"Tim Ferguson" wrote:
> =?Utf-8?B?VGVk?= <(E-Mail Removed)> wrote in news:56F34491-
> F085-4C40-BB01-(E-Mail Removed):
>
> > Private Sub Primary_AfterUpdate()
> > Me.Primary.Requery
>
> Huh? What is the point of requerying the control that is currently
> AfterUpdating... Surely this should be Title.ReQuery
>
> > Me.Title.SetFocus
>
> why setfocus? It's very unnerving for the user to have the focus jumping
> about without his or her doing it.
>
> > Me.Title = "Enter"
>
> What is this? How do you know that there is an "Enter" in the combo list
> here? You could set Title.Selected(0) = True so that it'll select the
> first item in the list.
>
> > Me.Title.Requery
>
> Aha.
>
> > Me.IRB_Number = "Enter"
>
> Ditto... but you should be able to let Access ripple its own events down
> the cascade.
>
> > Me.IRB_Number.Requery
>
> > End Sub
> >
> > Private Sub Title_AfterUpdate()
> > Me.Title.Requery
>
> Ditto. Requery is only needed when you have changed the underlying
> RowSource property and you haven't here.
>
> > Me.IRB_Number.SetFocus
>
> Ditto: let the user use the form.
>
> > Me.IRB_Number.Requery
>
> This is correct
>
> > Me.IRB_Number.Value = Me.IRB_Number.ItemData(0)
>
> Okay... or use the .Selected() method
>
> > End Sub
> >
>
> > Would anyone care to speculate about what's keeping this from
> > working as it should?
>
> Simplify it: let Access do the work instead of you!
>
> Hope that helps
>
>
> Tim F
>
>