Hi,
On my form I have one textbox and one lookup button.
If you click the lookup button you can choose eg Red, Blue, Yellow from
a datagrid.
The one you choose will be filled in the textbox.
The other possibility is to type "Yellow" in the textbox.
Both is vallid.
A third possibility is to type the beginning of, in this case, a color.
If the user now clicks on the lookup button, only the colors that match
the beginning string in the textbox will be shown.
The problem I have in this case is that:
-If the user types a color in the textbox and leave the textbox, the
color will be checked and if wrong, a message will be shown. But if the
user types eg "Yel" and leaves the textbox and clicks the
lookupbutton, I don't want to show this message.
Thanks in advance,
Henk The Netherlands.