Hi Rob
I have created a number of results pages but i know that this
isn't the
right way to go about it.
What i have is a dropdown list on my search page. This has
about 5 or 6
values, each corresponding to the 'status' field in my
database.
The results page filters the database based on the 'status',
so for
instance, from the dropdown menu i would select 'all products
with a status
of a' The results page would simply display all of the
products with a
status of a
Initially, i had a recordset for each of the status's, i.e.
select from
database where status is a
I tried the if then statement between each of the recordsets,
but then
realised that the actual values displayed on the page are, of
course,
associated with the recordset.
This would mean a hell of a lot more if then statemants.
I'd love to know how i could use a sinlge recordset depending
on what was
searched for - that would be great.
Hope this makes more sense!
Regards
Andy
"RobGT" <rob@lighthouseuk.removeme.net> wrote in
message
news:egnt35$g15$1@forums.macromedia.com...
> You need to give us more information about your search
page and what your
> results page is trying to achieve.
> You only need one results page...
> What you might beed to do is write some code to create a
single recordset
> of results depending on what was searched for.
> If you can explain what you are trying to achieve, a
solution could be
> easier to offer up :)
> Cheers,
> Rob
>
http://robgt.com/ [Tutorials and
Extensions]
> Firebox stuff:
http://robgt.com/firebox
> Skype stuff:
http://robgt.com/skype
> SatNav stuff:
http://robgt.com/satnav
>