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  

Add data to list on fly



 
 
Thread Tools Display Modes
  #1  
Old June 12th, 2004, 10:00 AM
Tim Leach
external usenet poster
 
Posts: n/a
Default Add data to list on fly

I was wondering if there is a way to add a new entry to a list in a drop
down box if it is not in the list when you type it. The list is in the row
source control for the box.

I would also like to know what the best teaching book is for access......

Thanks
Tim
  #2  
Old June 12th, 2004, 11:51 AM
Douglas J. Steele
external usenet poster
 
Posts: n/a
Default Add data to list on fly

You need to set the combobox's LimitToYes property to True (Yes), and add
code to its NotInList event.

There's a sample of the code required at
http://www.mvps.org/access/forms/frm0015.htm at "The Access Web"

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


"Tim Leach" wrote in message
.. .
I was wondering if there is a way to add a new entry to a list in a drop
down box if it is not in the list when you type it. The list is in the row
source control for the box.

I would also like to know what the best teaching book is for access......

Thanks
Tim



  #3  
Old June 13th, 2004, 09:52 AM
Tim Leach
external usenet poster
 
Posts: n/a
Default Add data to list on fly

On Sat, 12 Jun 2004 06:51:52 -0400, Douglas J. Steele wrote:

You need to set the combobox's LimitToYes property to True (Yes), and add
code to its NotInList event.

There's a sample of the code required at
http://www.mvps.org/access/forms/frm0015.htm at "The Access Web"


Thank you Douglas, I will give it a try.
 




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 04:50 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.