
Signature
Jeff Conrad
Access Junkie
Bend, Oregon
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 ajacent 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.
Thanks,
Larry
> > May I ask for your input on another item?
> >
[quoted text clipped - 39 lines]
> either moves to a different record, a new record, or
> closes the form. No extra user intervention is required.
Jeff Conrad - 31 May 2005 03:12 GMT
> Jeff,
>
[quoted text clipped - 16 lines]
> 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.

Signature
Jeff Conrad
Access Junkie
Bend, Oregon
Jeff Conrad - 31 May 2005 05:06 GMT
> 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"
[quoted text clipped - 14 lines]
> The challenge is to get the OnOpen event to execute all the lines of code
> regardless of where the highlighted box is.
I had a few quick minutes Larry.
I set up a quick form with three list boxes (matching your names) and three
text boxes (matching your names) and put just the On Open event code you
supplied. By giving each list box a Default Value (on the Properties) list, the
form opened with the first item selected in each list box. Each corresponding
text box filled in as needed. Will that help?

Signature
Jeff Conrad
Access Junkie
Bend, Oregon
Larry - 31 May 2005 15:47 GMT
Hi Jeff,
Thanks for the help Jeff. After your last message the only thing that I
changed was to change the Text Boxes to "unbound". That got the OnOpen Event
Procedure to auto fill all of the Text Boxes. Next I sat up three Hidden
List boxes that actually did the write back to the data base. The unbound
Text boxes are only serving the prupose of giving feed back to the User. The
two List Boxes are actually doing the work.
Again thanks so much for the help.
I'm going to post the results of all of this in a new String so that other
folks can take advantage of it.
Larry
> > 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"
[quoted text clipped - 22 lines]
> form opened with the first item selected in each list box. Each corresponding
> text box filled in as needed. Will that help?
Jeff Conrad - 31 May 2005 19:03 GMT
> Hi Jeff,
>
[quoted text clipped - 9 lines]
> I'm going to post the results of all of this in a new String so that other
> folks can take advantage of it.
Good to hear you have things working now Larry.
Good luck with your project.

Signature
Jeff Conrad
Access Junkie
Bend, Oregon