Search for a suppliers in a table by post code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stecon
    New Member
    • Feb 2008
    • 2

    Search for a suppliers in a table by post code

    I have a supplier database with all the suppliers details listed

    I want to create a search box on a form wher you enter the first part of the post code ie S75 and it will bring up all suppliers from that post code

    Thanks Steve
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Kindly post what you have tried so far.

    Comment

    • jamesd0142
      Contributor
      • Sep 2007
      • 471

      #3
      Originally posted by stecon
      I have a supplier database with all the suppliers details listed

      I want to create a search box on a form wher you enter the first part of the post code ie S75 and it will bring up all suppliers from that post code

      Thanks Steve
      Create a database connection

      send the sql statement:

      [code=sql]select <columnname> from <tablename> where <columnname> like " & "'" & "S75%" & "'"
      [/code]

      Comment

      Working...