A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

enter list values into combo box



 
 
Thread Tools Display Modes
  #1  
Old November 3rd, 2006, 05:29 PM posted to microsoft.public.access.forms
cypher
external usenet poster
 
Posts: 2
Default enter list values into combo box

How do I get items into the combo box control? I have no problem getting list
items into a list control programmatically, but I want to know how I can type
each item into a combo box so that the combo box retains the entered items. I
am using VB 6.3 ~thanks
--
Me! cypher
  #2  
Old November 3rd, 2006, 06:07 PM posted to microsoft.public.access.forms
Douglas J. Steele
external usenet poster
 
Posts: 9,313
Default enter list values into combo box

Set the combo box's LimitToList property to Yes, and put code in its
NotInList event.

See http://www.mvps.org/access/forms/frm0015.htm at "The Access Web" for an
example.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"cypher" wrote in message
...
How do I get items into the combo box control? I have no problem getting
list
items into a list control programmatically, but I want to know how I can
type
each item into a combo box so that the combo box retains the entered
items. I
am using VB 6.3 ~thanks
--
Me! cypher



  #3  
Old November 3rd, 2006, 06:53 PM posted to microsoft.public.access.forms
John Vinson
external usenet poster
 
Posts: 4,033
Default enter list values into combo box

On Fri, 3 Nov 2006 09:29:02 -0800, cypher
wrote:

I am using VB 6.3 ~thanks


Then perhaps you should ask the question in a Visual Basic newsgroup,
rather than an Access newsgroup... or am I misinterpreting?

John W. Vinson[MVP]

 




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 Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:45 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.