Have built up several combo boxes on a form which works very good. I have
all the fields listed in the RowSource. The user would like the first item
in the Combo box to always show up when entering a new item. I tried using:
THISFORM.Pageframe1.Page4.Combo1.Value = 1
Thought the first item in the list in RowSource would show up but instead
the figure 1 pops up.
How do I get the first item in the list to be in the window to advise the
user to use the arrow to see what else is in the list?
TonySper

RE: Combo Box Help by Allan

Allan
Thu Feb 14 15:33:02 CST 2008

hi tony,

use Combo1.ListIndex = 1

allan

"TonySper" wrote:

> Have built up several combo boxes on a form which works very good. I have
> all the fields listed in the RowSource. The user would like the first item
> in the Combo box to always show up when entering a new item. I tried using:
> THISFORM.Pageframe1.Page4.Combo1.Value = 1
> Thought the first item in the list in RowSource would show up but instead
> the figure 1 pops up.
> How do I get the first item in the list to be in the window to advise the
> user to use the arrow to see what else is in the list?
> TonySper
>
>
>
>

Re: Combo Box Help by TonySper

TonySper
Thu Feb 14 17:54:30 CST 2008

Allan,
Works great. I fooled around with that for a hour. Could not find anything
in the 4 books to use ListIndex. Kept using Value. After you pointed me to
ListIndex I checked out the ListIndex help and there it was. Guess one has
to go through all the helps to figure out how to use the objects.
Thanks
Tony

"Allan" <Allan@discussions.microsoft.com> wrote in message
news:6B1AD70C-4A65-423D-8BC1-272B3D169312@microsoft.com...
> hi tony,
>
> use Combo1.ListIndex = 1
>
> allan
>
> "TonySper" wrote:
>
>> Have built up several combo boxes on a form which works very good. I have
>> all the fields listed in the RowSource. The user would like the first
>> item
>> in the Combo box to always show up when entering a new item. I tried
>> using:
>> THISFORM.Pageframe1.Page4.Combo1.Value = 1
>> Thought the first item in the list in RowSource would show up but instead
>> the figure 1 pops up.
>> How do I get the first item in the list to be in the window to advise the
>> user to use the arrow to see what else is in the list?
>> TonySper
>>
>>
>>
>>



Re: Combo Box Help by Allan

Allan
Fri Feb 15 03:19:00 CST 2008

not really, but you have to familiarize yourself with what the property or
event each object does so you can apply usage accordingly...

likewise, this is why a usegroup like this is helpful...


"TonySper" wrote:

> Allan,
> Works great. I fooled around with that for a hour. Could not find anything
> in the 4 books to use ListIndex. Kept using Value. After you pointed me to
> ListIndex I checked out the ListIndex help and there it was. Guess one has
> to go through all the helps to figure out how to use the objects.
> Thanks
> Tony
>
> "Allan" <Allan@discussions.microsoft.com> wrote in message
> news:6B1AD70C-4A65-423D-8BC1-272B3D169312@microsoft.com...
> > hi tony,
> >
> > use Combo1.ListIndex = 1
> >
> > allan
> >
> > "TonySper" wrote:
> >
> >> Have built up several combo boxes on a form which works very good. I have
> >> all the fields listed in the RowSource. The user would like the first
> >> item
> >> in the Combo box to always show up when entering a new item. I tried
> >> using:
> >> THISFORM.Pageframe1.Page4.Combo1.Value = 1
> >> Thought the first item in the list in RowSource would show up but instead
> >> the figure 1 pops up.
> >> How do I get the first item in the list to be in the window to advise the
> >> user to use the arrow to see what else is in the list?
> >> TonySper
> >>
> >>
> >>
> >>
>
>
>