Use a button to find results based on a previous database select s

Use a button to find results based on a previous database select s

am 02.09.2005 15:22:05 von GavMc

Hello,

Does anyone know of a way that after using a select statement to produce
search results produced on a page, a button can be clicked to show further
information relating to the previous search.


For example:

1. a select statement finds a list of cars:
Porshe, mercedes, bmw.

against each of the cars there will be a button that when clicked can show
further information taken from database such as:

convertable, saloon, estate..etc..

Any help would be appreciated

G.

Re: Use a button to find results based on a previous database select s

am 02.09.2005 16:16:54 von reb01501

GavMc wrote:
> Hello,
>
> Does anyone know of a way that after using a select statement to
> produce search results produced on a page, a button can be clicked to
> show further information relating to the previous search.
>
>
> For example:
>
> 1. a select statement finds a list of cars:
> Porshe, mercedes, bmw.
>
> against each of the cars there will be a button that when clicked can
> show further information taken from database such as:
>
> convertable, saloon, estate..etc..
>
> Any help would be appreciated
>
> G.

It sounds like you know nothing about ASP, is that right? Nothing wrong with
that: I was once there myself. For my first application, I used a freebie
called GenericDB (www.genericdb.com) written by Eli Robillard to get me
going. I had an application running in a couple days (some of which is still
being used). And, I was able to subsequently study the code to see what it
was doing, realizing after I learned more that it could have been written in
a much cleaner and more maintainable way, and that it used many bad
programming practices that made it less scalable than it could have been.
But it did server the purpose and I recommend it to you.

Bob Barrows


--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

Re: Use a button to find results based on a previous database select s

am 08.09.2005 03:59:34 von Bullschmidt

Perhaps in your recordset looping somehow put together a dynamic
querystring such as:

">Click for
details


Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
http://www.Bullschmidt.com
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...

<<
Does anyone know of a way that after using a select statement to produce
search results produced on a page, a button can be clicked to show
further
information relating to the previous search.

For example:

1. a select statement finds a list of cars:
Porshe, mercedes, bmw.

against each of the cars there will be a button that when clicked can
show
further information taken from database such as:

convertable, saloon, estate..etc..

Any help would be appreciated
>>

*** Sent via Developersdex http://www.developersdex.com ***