Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Frontpage form query problem  (Read 3354 times)

0 Members and 1 Guest are viewing this topic.

usads2

    Topic Starter


    Greenhorn

    Frontpage form query problem
    « on: March 18, 2010, 11:15:34 AM »
    When I click Submit Query on my search page, the database returns all results as opposed to the search criteria entered. In fact, I can leave all fields blank and it will still return all results in the database. The page (still very much under construction) is located at http://www.driverreport.org/driversearch.asp

    Any ideas on this one?  ???

    kpac

    • Web moderator
    • Moderator


    • Hacker

    • kpac®
    • Thanked: 184
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 7
    Re: Frontpage form query problem
    « Reply #1 on: March 18, 2010, 11:25:37 AM »
    Is it an IIS server you're using with Access database?

    usads2

      Topic Starter


      Greenhorn

      Re: Frontpage form query problem
      « Reply #2 on: March 18, 2010, 11:30:45 AM »
      It is an Access database, however I am not sure what an IIS server is. I know it is on a Windows server (if that helps)  :-[

      kpac

      • Web moderator
      • Moderator


      • Hacker

      • kpac®
      • Thanked: 184
        • Yes
        • Yes
        • Yes
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 7
      Re: Frontpage form query problem
      « Reply #3 on: March 18, 2010, 12:08:33 PM »
      Yes, IIS in the same as Windows.

      I'm sorry I don't know much about Access databases, so all I can do is point you in the right direction.
      http://www.stardeveloper.com/articles/display.html?article=2000051001&page=1
      http://www.hotscripts.com/category/asp/scripts-components/search-engines/

      usads2

        Topic Starter


        Greenhorn

        Re: Frontpage form query problem
        « Reply #4 on: March 18, 2010, 12:47:39 PM »
        Thanks again kpac. I am glad I cam across this forum. I have posted to many forums across the web and this one blows all the others out of the water as far as knowledge and promtness.

        kpac

        • Web moderator
        • Moderator


        • Hacker

        • kpac®
        • Thanked: 184
          • Yes
          • Yes
          • Yes
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 7
        Re: Frontpage form query problem
        « Reply #5 on: March 18, 2010, 01:27:22 PM »
        No problem and glad I could help.

        BC_Programmer


          Mastermind
        • Typing is no substitute for thinking.
        • Thanked: 1140
          • Yes
          • Yes
          • BC-Programming.com
        • Certifications: List
        • Computer: Specs
        • Experience: Beginner
        • OS: Windows 11
        Re: Frontpage form query problem
        « Reply #6 on: March 19, 2010, 12:01:25 AM »
        I'm sorry I don't know much about Access databases

        Actually- it uses pretty much the same SQL your familiar with from MySQL.

        in this case, it simply looks like there is no actual query being created from the POST'ed data; that is, it is returning all records simply because it hasn't been told otherwise (think, performing a "query" that is just the table name- it returns the entire contents of the table).
        I was trying to dereference Null Pointers before it was cool.