select combobox item

M

mcnews

how to select an item in a combobox using the listindex of another
combobox - from a parent form?

tia,
mcnewsxp
 
M

mcnews

how to select an item in a combobox using the listindex of another
combobox - from a parent form?

i did it this way, but must be a better way.

Dim strItem As String
strItem = Forms!frmMain!
frmMainSub.Form.cbOnSub.ItemData(cbOnMain.ListIndex)
Forms!frmMain!frmMainSub.Form.cbOnSub.Value = strItem
 
C

Chrissie

My apologies - this is not an answer to your question. I can find no other
way to post a new question for myself. I've checked the help file and
followed the instructions on posting a new question but it's not happening :)
Can anyone offer any suggestions as to how to post without hi-jacking someone
else's question?
Thanks, Chrissie
 
A

akphidelt

Are you talking about linked combo boxes? For example if you select a state
in one combo box you would like the other combo box to show you just the
cities associated with that state? Otherwise I do not understand the question.
 
J

John W. Vinson

Can anyone offer any suggestions as to how to post without hi-jacking someone
else's question?

Just don't use the infuriating, buggy webpage interface to these newsgroups.
Microsoft makes a real effort to conceal the fact that the webpage is NOT the
newsgroups; it's only a newsreader, and a pretty poor one at that!

Open Outlook Express (not Outlook!); create a new account using Tools...
Accounts; set the news server to msnews.microsoft.com on the News tab. No ID
and no password are required, but DON'T put your real email address on the
EMail Address line (spammers will harvest it if you do). I use

(e-mail address removed)

Put something with a nonexistant domain so you don't cause messages that will
hassle other people.

You can then select which newsgroups you want to see, post and receive
messages, etc. without the hassles of Microsoft's webpage.

John W. Vinson [MVP]
 
M

mcnews

Just don't use the infuriating, buggy webpage interface to these newsgroups.
Microsoft makes a real effort to conceal the fact that the webpage is NOT the
newsgroups; it's only a newsreader, and a pretty poor one at that!

Open Outlook Express (not Outlook!); create a new account using Tools...
Accounts; set the news server to msnews.microsoft.com on the News tab. No ID
and no password are required, but DON'T put your real email address on the
EMail Address line (spammers will harvest it if you do). I use

(e-mail address removed)

Put something with a nonexistant domain so you don't cause messages that will
hassle other people.

You can then select which newsgroups you want to see, post and receive
messages, etc. without the hassles of Microsoft's webpage.

John W. Vinson [MVP]

i don't have that option at work.
i'm lucky i can use a browser for newsgroups.
 
M

mcnews

Are you talking about linked combo boxes? For example if you select a state
in one combo box you would like the other combo box to show you just the
cities associated with that state? Otherwise I do not understand the question.

all i need to know is how to select a combobox item with a number.
i need to know which combobox property i can say = 1 or 5 or 0 and
that item will be selected and visible in the box.
 
C

Chrissie

Brilliant! Thanks heaps for this info. The more I learn, the more I realise
how little I know!

Chrissie

:

Chrissie wrote:
Can anyone offer any suggestions as to how to post without hi-jacking someone
else's question?

Just don't use the infuriating, buggy webpage interface to these newsgroups.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top