Data Widgets
Tech Support Questions

Q. I can't get the ValidateList event to fire for a data combo no matter what I do. I have the listautovalidate set to false and it still doesn't fire. When I set the property to true, it doesn't appear to validate list entries itself. I can type anything I want in and move on...
A. In order to get the Validate List event to fire, you can place the following code in the LostFocus event of the Data Combo box:
  If SSDBCombo1.IsItemInlist = False then
    SSDBCombo1.SetFocus
    MSGBox "Item Not In List"
  End If
Now whenever the user tries to move off of the Combo, the control will validate. This will work whether you have ListAutoValidate set to True or False.

[TECH SUPPORT TOC]

[HOME] [TABLE OF CONTENTS] [SEARCH]