Forums

This topic is locked

move to next record

Posted 19 Feb 2004 15:48:57
1
has voted
19 Feb 2004 15:48:57 Wayne Hultum posted:
Hi all,

I'm creating a picture gallery using ASP and an Access database.

I've got most things working but I'm having a problem with the move to the next record.

When I click on an image it opens a larger version in a new window, what I'm wanting to do is have a next and previous link in the new window that takes you to the next or previous image in the section you are in.

I've tried creating a repeat region around the image in the new window and putting a recordset navigation bar in, but that doesn't work. I think it's due to the fact that the images are link with their ID number so that’s the only image displayed.

Hope that makes sense and that someone will be able to help.

Thanks in advance
Wayne


Replies

Replied 19 Feb 2004 21:26:16
19 Feb 2004 21:26:16 Dave Thomas replied:
bah i did this a while back and i cant remember exactly, but off the top of my head it was along these lines. I'll try and find the tute for you in the mean time.

You right in what you said, its because you are passing the id of the image.

instead of using the usual route of selecting the thumbnail and "goto detail page", im sure it was "move to specific record" - and then on your big image page where you want the nav buttons, don't filter it by id.

I'm may still have a page i done like this on my laptop, ill check for ya.

Regards,
Dave

[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com
Replied 20 Feb 2004 12:27:00
20 Feb 2004 12:27:00 Wayne Hultum replied:
Thanks Dave,

You pointed me in the right direction, I wasn't using "goto detail page". I had a go with the "goto detail page" and I've got it sorted now.

Thanks

Reply to this topic