Solved

Repeated Regions

Posted on 2004-09-15
5
254 Views
Last Modified: 2010-04-25
I built a repeated region which works great.  It shows all the records it is suppose to.  When I was reading the HELP file in Dreamweaver, it showed an example of a Repeat Region where the first column was a link and when clicked on it took you to that record.  But, it didn't explain how to do it.  I just want the user to be able to click on one of the records and have it open to an Udate page with that record showing.  How do you do this?  Sorry I am a newbie but I am getting there.  I searched the site but didn't find a solution.

Thanks in advance.
0
Comment
Question by:suezyg23
  • 2
  • 2
5 Comments
 
LVL 33

Expert Comment

by:humeniuk
ID: 12067610
Here's a PHP/MySQL example:

<?php do { ?>
<p><a href="<?php echo $row_yourrecordset['linkto']; ?>"><?php echo $row_yourrecordset['title']; ?></a></p>
<?php } while ($row_yourrecordset = mysql_fetch_assoc($yourrecordset)); ?>

Let me know if this is what you're looking for.
0
 

Author Comment

by:suezyg23
ID: 12067963
I am currently working in Dreamweaver (Studio MX).  I created an ASP Javascript page (inserted a form on this page) called Report1.asp.  I created a recordset of the records I want to view.  I then created a 7 column 2 row table (7 fields).  The second column is a repeat region based on the recordset mentioned above (rsSurvey).  It works great.  What I want to do is this.  My first page is a login screen.  Once logged in, the user goes to the MainMenu.asp page.  Here I have a recordset call rsLogin based on MM_Username.  One of the selections is Draft Report which will bring up Report1.asp  I want to be able to pass a session varialbe based on the rsLogin field call SiteID to this reports page so I can only include the records that are within the users SiteID.  So I need to know how to do this with ASP Javascript and should I put it on the MainMenu.asp page?  Hope that's clearer.
0
 
LVL 33

Expert Comment

by:humeniuk
ID: 12068024
The above code was created with Dreamweaver MX.  Unfortunately, I'm not that familiar with ASP, so I wouldn't want to speculate further.
0
 
LVL 7

Accepted Solution

by:
jay_eire earned 50 total points
ID: 12072670
Hi suezyg23
You are looking for a "GO TO DETAIL PAGE" this is what it is called In Dreamweaver! if go into Dreamweaver help and search for "GO TO DETAIL PAGE" and "Working with related pages (ASP and JSP users only)" you will get a detailed help on how to set up a "GO TO DETAIL PAGE"

If you need anymore help setting it up post back here...

Thanks
Jay Eire
(<>..<>)
0
 

Author Comment

by:suezyg23
ID: 12102242
Ok, I will check into this and let you know if it works before I accept the answer.  Thanks for the advice.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Issue when emailing and there is a space 7 403
Webpage Not Working in IE 27 360
Wrapping 2 Divs in a Container 8 570
change form target with jquery 2 418
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question