Select Distinct Statement

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Alan012
    New Member
    • Feb 2008
    • 1

    Select Distinct Statement

    Hello, How can I search a distinct field using select distinct in a textbox in VB? What is the code? Using the textbox property KEYPRESS
  • kadghar
    Recognized Expert Top Contributor
    • Apr 2007
    • 1302

    #2
    Originally posted by Alan012
    Hello, How can I search a distinct field using select distinct in a textbox in VB? What is the code? Using the textbox property KEYPRESS
    Do you want that when you write something in the txtbox it should be different from any field somewhere?
    Where the fields are? in a DataBase? in a list or a combo box?
    Or do you want that while typing in the textbox, you cannot duplicate a character?

    KeyPress is an event not a property, but maybe the Change event will give you better results, depending on what you need

    Comment

    • Killer42
      Recognized Expert Expert
      • Oct 2006
      • 8429

      #3
      Also, what version of VB are we talking about?

      Comment

      Working...