Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combo box validation 1

Status
Not open for further replies.

AFKAFB

Programmer
Aug 22, 2005
26
US
All

I've a number of combo boxes with YES/NO options on a form.

However, its possible to type in different values which i want to prevent.

Is this prevented through the data validation to limit the user to yes/no.

regards

chris



 
How are ya AFKAFB . . . . .

In the [blue]NotInList[/blue] event of each combo:
Code:
[blue]   MsgBox "You Must Make a Selection From The DropDown List!"
   Response = acDataErrContinue[/blue]

Calvin.gif
See Ya! . . . . . .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top