dbTalk Databases Forums  

unable to select anything from combo box

comp.database.ms-access comp.database.ms-access


Discuss unable to select anything from combo box in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mark
 
Posts: n/a

Default unable to select anything from combo box - 05-26-2004 , 09:54 AM






I have been fighting with this and looking around the net for hours
now.

I have added a combo box to a form.
Row Source Type - Table/Query
Row Source - Select [Contact Types].ContactTypeID, [Contact
Types].ContactType from [Contact Types]
Column count - 2
bound column - 0

The query works fine by itself, I have
[Forms]![frmAffiliates]![cboSelect] as a query parameter. When I click
the query, the parameter box opens, I type a value and my query runs
great.

When I run the form with the combo box, I click the drop down arrow
and the box opens, it is populated with all my entries.

PROBLEM: But when I click on a selection in the box, nothing gets
selected and the cbo box does not close back up, it just sits open.

I added Event code to the AfterUpdate event to open "msgbox cboSelect"
but this does not popup.

Does anyone have any idea why this box will not work. I tried
substituting a list box but get similar results.

Thanks for any ideas

Reply With Quote
  #2  
Old   
Andrew Backer
 
Posts: n/a

Default Re: unable to select anything from combo box - 05-27-2004 , 02:24 AM






Try setting the BoundCoulmn to 1 not 0.

- Andrew Backer

Mark wrote:
Quote:
I have been fighting with this and looking around the net for hours
now.

I have added a combo box to a form.
Row Source Type - Table/Query
Row Source - Select [Contact Types].ContactTypeID, [Contact
Types].ContactType from [Contact Types]
Column count - 2
bound column - 0

The query works fine by itself, I have
[Forms]![frmAffiliates]![cboSelect] as a query parameter. When I click
the query, the parameter box opens, I type a value and my query runs
great.

When I run the form with the combo box, I click the drop down arrow
and the box opens, it is populated with all my entries.

PROBLEM: But when I click on a selection in the box, nothing gets
selected and the cbo box does not close back up, it just sits open.

I added Event code to the AfterUpdate event to open "msgbox cboSelect"
but this does not popup.

Does anyone have any idea why this box will not work. I tried
substituting a list box but get similar results.

Thanks for any ideas
T


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.