I have four textboxes on a single form. How can I search the values in these textboxes to determine which contain equal values to the other?
So textbox1 can equal textbox3 and textbox4, but not textbox2. Or textbox1 can equal textbox2 and textbox3 can equal textbox4, but textbox1 not equal textbox3. Or all textboxes can contain the same values. Or none of the textboxes may contain the same values. And so on. I know I can write a lot of if-else statements but seems like there would be an easier way to do this.
So textbox1 can equal textbox3 and textbox4, but not textbox2. Or textbox1 can equal textbox2 and textbox3 can equal textbox4, but textbox1 not equal textbox3. Or all textboxes can contain the same values. Or none of the textboxes may contain the same values. And so on. I know I can write a lot of if-else statements but seems like there would be an easier way to do this.