You would have to manually code the detail page as follows (I
think):
1. Save the desired record in a session variable from the
Master page.
2. Load the full recordset into the detail page (as you did
on the master
page), and then step through all the records, loading them
into an array.
3. Display the nth element of the array on the detail page,
as specified by
the session variable.
4. Based on the total record count in the array, and the
value of the
current record, show NEXT and PREVIOUS links as required.
5. Adjust the session variable by either plus or minus 1 at
each click on
the NEXT or PREVIOUS links, respectively and then reload the
page.
That would be how you would do it with server scripting
alone. If you want
to delve into AJAX/Spry, you can do it client side, too. Your
best bet
would be to ask that question on the Spry forum.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"webstaffuk" <webforumsuser@macromedia.com> wrote in
message
news:gn3c11$6u4$1@forums.macromedia.com...
> Hi Guys,
> Im not sure if i can do this and have tried with no
success so far so
> thought
> I need to ask advice..
>
> I have a page that displays a list and when an item in
the list is picked
> your
> taken to the details page by using an URL Parimeter (id)
The details pages
> takes the id and pulls a single record from the database
and shows the
> info and
> pics needed and this works fine.
>
> I wanted to add a next and back buttons to this details
page but because
> the
> recordset on the page only pulls 1 record I dont have
any records to
> scroll
> though using the next and back buttons and wondered how
I could do this?
>
> I can do it on a seperate page where I pull all the
reocrds from the
> database
> and they scroll back and forth well but I want it all to
be done on the
> same
> details page if possible?
>
> Any and all thoughts are very welcome.
> Thanks
> Tag
>