Combo Box Issues

G

Guest

I am relatively new to Access:

I am trying to do two things:

Use 'other' in a combo box list and have it open a text box where someone
can enter free text and have the entry be stored under the same heading

Have a combo box selection that will continue to open additional combo boxes
(up to 4) until somebody selects the 'none' option, then it will move to the
next data entry.

Any and all help would be appreciated -- I know these are simple questions
but I am trying to teach myself!!!
 
C

Carl Rapson

Clubber Land said:
I am relatively new to Access:

I am trying to do two things:

Use 'other' in a combo box list and have it open a text box where someone
can enter free text and have the entry be stored under the same heading

Have a combo box selection that will continue to open additional combo
boxes
(up to 4) until somebody selects the 'none' option, then it will move to
the
next data entry.

Any and all help would be appreciated -- I know these are simple questions
but I am trying to teach myself!!!

1. Not sure what you mean by "stored under the same heading", but to prompt
the user for text use the InputBox method in the combo box's AfterUpdate
event:

If Me.cboComboBox = "Other" Then
txtTextVariable = InputBox("Prompt", "Title", "Default value")
End If

2. For this, I would disable all but the the first combo box. Then, in each
combo box's AfterUpdate event, enable the next combo box in the series if
"none" wasn't selected:

If Me.cboThisComboBox <> "none" Then
Me.cboNextComboBox.Enabled = True
End If


Carl Rapson
 

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