"Larry" wrote in message:
Jeff,
Actually I am using a bound form. I'm trying to have the Form automatically
fill in most all of the boxes when it first opens. I have have and "OnOpen"
Event set for the form that looks like this:
Me!EO_Compliance_Description_Text_One = Me! EO_Sub_Category_List_One.Column(1)
Me!EO_Compliance_Description_Text_Two = Me!EO_Sub_Category_List_Two.Column(1)
Me!EO_Compliance_Description_Text_Three =
Me!EO_Sub_Category_List_Three.Column(1)
There are a group of three boxes on the Form - with each group containing a
list box and an adjacent Text box. All the List Boxes auto fill as intended
but the only Text Box that will auto fill is the one that is adjacent to
which ever List Box that was last highlighted by the Cursor. So, if
"EO_Sub_Category_List_Two" was last highlighted then its adjacent Text Box
"EO_Compliance_Description_Text_Two" box will auto fill when the Form opens
but no others.
The challenge is to get the OnOpen event to execute all the lines of code
regardless of where the highlighted box is.
Hi Larry,
I will try to get to this as soon as I can, but I'm pretty buried right now
with some other responsibilities. It may be a day or two before I have
some adequate time for you. If you cannot wait that long, you might
consider re-posting the question as a new thread.
Glancing through this, a little more info might be needed. Post the
code for the OnOpen event and provide a bit more detail so I can
build a test form. For instance,
Text box A does.....
List box A does.....
etc.