• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 169
  • Last Modified:

Comparing Values

Hello all

I have an application that populates a combo box using a SQL statement and combobox.items.add etc, thst works very well. I also have an edit box that allows a user to input a value. I need to compare this value and see if it exists in the list that now exists in my combo box. Any ideas please?
0
Paul-Brooks
Asked:
Paul-Brooks
1 Solution
 
2266180Commented:
if combobox.items.indexof(edit1.text)>-1 then exists
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now