Combo Box question

Paul Cooke

Registered User.
Local time
Today, 19:17
Joined
Oct 12, 2001
Messages
288
Hi guys

Is it possible to restrict a certain value in a combo box through code?

E.G I have a table called tblNames one of the values in this is table is 'Not known'

This table is referenced on various forms but on some of them I do not want the user to be able to choose 'Not known' from the list

Is this feasible?

Thanks in advance

(for information there is loads of other bits of code behind these combo's events which cannot now be changed as it would have a major effect of the DB structure)
 
You should be able to use the before update event of the combo and use

Cancel = True

to cancel the selection.
 
Thanks Paul
 

Users who are viewing this thread

Back
Top Bottom