Forums

This topic is locked

How to link Access db data to PopUp window

Posted 25 Mar 2008 19:02:00
1
has voted
25 Mar 2008 19:02:00 Inger Ekrem posted:
Hi!
I´m working with CS3 agains an Access DB. I have a problem when I try to link content into my PopUp window.
Ex.
I make a register of all the items of my DB, it comes up just fine in DW. I click om the wanted item and a popUp page shows the page which are linked in the DB.

I put the DB link into the popUp:
......function popUp() {props=window.open('<%=(artiklar.Fields.Item("link1".Value)%>', ).........
This works fine whith the first item, but all the other links tend to popUp page one as well.
How can I make find page two, tree etc. The links are in the DB but it chooses the first one everytime.

Hope you understand what I' trying to explain.

Thanks for any help, I'm lost

Replies

Replied 27 Mar 2008 05:45:03
27 Mar 2008 05:45:03 Javier Castro replied:
from your server behaviours add a "Move to specific record" you select the primary key and the value you are passing from the previous page, usually is "ID"

Javier
"I'm a slow learner and I forget fast" grandpa
DW | FW | ASP | HTML | CSS

Reply to this topic