I have an Access Database in a Site designed with Dreamweaver. I have a search page with a Submit button that returns all records in the database if the Submit Button is clicked and no other criteria is filled in on the search form.
I would like to reproduce this action on the homepage without using the search form. I just want to place a button labled "Browse Database" on the home page.
I would greatly appreciate any help in this regard.
Mike
korkus2000
11:32 pm on May 28, 2003 (gmt 0)
Welcome to WebmasterWorld treemike,
What is the action of the form tag with the submit button? Is it post or get as the method?
I copied this from the Html so I assume it's post. I am kind of new to this. I have a some experience in web design but the actual designer who constructed the site is not responsive so I decided to tackle this on my own. Bear with me
WebJoe
11:40 pm on May 28, 2003 (gmt 0)
treemike, can you configure the search/result page that it will display all records by default? So you can link to the result page - with all records to browse, possibly spaned over several pages - and have it searchable.
If you sticky me I can send you an URL with that solution.
korkus2000
11:46 pm on May 28, 2003 (gmt 0)
If you want to have a button then just copy the form to the homepage and change the <input> tags to hidden like <input type="hidden"> and keep the names and values the same. That way you won't see the form elements, but it will be the same form.
liwei
4:53 am on May 30, 2003 (gmt 0)
I agree with WebJoe. result.asp should works even no criteria was filled or selected. Setup a default criteria, but not for all records. It's not an effective design.