Not In List Event

SamMaynard

Board Regular
Joined
Dec 4, 2002
Messages
106
I'm trying to use the not in list event and keep getting errors. I think it has to do with the Micorsoft DAO library. What is a DAO and how do I know which one to add. I'm using Access 2000. Any Help?

Thanks
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Hi,

The NotInList event relates to the Combobox, not the DAO (Data Access Objects) library.

When you say you're getting errors you need to be more specific - what is your situation, what errors are you getting, are you using VBA or properties or what? What is your aim?

DETAILS PLEASE :)
 
Upvote 0
It might relate..

When I try to capture the not_in_list event on a combo that is named something with and underscore(like cmb_User), I can't capture the event.

Annoying to say the least, my naming convention is very limited these days..
 
Upvote 0
Corticus said:
It might relate..

When I try to capture the not_in_list event on a combo that is named something with and underscore(like cmb_User), I can't capture the event.

Annoying to say the least, my naming convention is very limited these days..

Corticus,

Sorry but I don't get where the link between DAO and the Combobox has come from. The object browser shows the NotInList event as a member of Access' combobox class.

Regarding your particular problem (with the underscores in names) I can't replicate that in Access XP. What version are you using and have you set the LimitToList property to Yes?
 
Upvote 0
I don't see where the link came from either, and I'm using Access2000 so maybe they fixed it.
 
Upvote 0

Forum statistics

Threads
1,221,586
Messages
6,160,645
Members
451,661
Latest member
hamdan17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top