Jackpotgee
Registered User.
- Local time
- Today, 06:37
- Joined
- Jun 7, 2007
- Messages
- 27
Hi,
I have a combo box that selects its values based on a query. This Combo box displays a list of companies for selection. It is possible that the user can enter a company that is not in the List.
I have a seperate button to add the company to the list, if and when the user decides to. However i want to stop the the user adding a company name to the list if it already exists.
Hope this makes sense so far....
What i am trying is
If (the new value currently typed in the combo box is already in the list) Then exitcode Else performfunction.
Any ideas or help anyone?
I have a combo box that selects its values based on a query. This Combo box displays a list of companies for selection. It is possible that the user can enter a company that is not in the List.
I have a seperate button to add the company to the list, if and when the user decides to. However i want to stop the the user adding a company name to the list if it already exists.
Hope this makes sense so far....
What i am trying is
If (the new value currently typed in the combo box is already in the list) Then exitcode Else performfunction.
Any ideas or help anyone?