JethroUK© said:
I was 'hoping' it might save me looking thru the list myself - no
such luck
Ken Snell said:
OnNotInList is a property that tells ACCESS what to do when the
NotInList event occurs: run a macro (the property holds the name of
a macro), run an event procedure (the property holds the text string
"[Event Procedure]"), run a function (the property holds the name of
a function), or do nothing (the property holds an empty string).
--
Ken Snell
<MS ACCESS MVP>
OnNotInList doesn't seem to work?
Help menu suggest this is a read/write property (as opposed to the
NotInList
event)
If i attempt to read it - it generates an error - e.g.
If cboFILTERS.OnNotInList = True Then
do this
else
do this
end if
What are you trying to do, Jethro? If you have the LimitToList property
set to False (so the user can enter values that aren't in the list), but
you want to know whether the current value of the combo is in the list
or not, you can use the combo box's ListIndex property to tell you. If
the value is not in the list, then the ListIndex property will have a
value of = -1.