Skip to main content
May 20, 2009
Answered

Link from Master page to Details page only shows first record

  • May 20, 2009
  • 1 reply
  • 553 views

Hi,

Could someone please tell me how to fix this problem:

I have master page that lists all my users, and I have links beside them to take them to the specific user details. However, the links from all the other records will only show details for the first record.

This is the link that is supposed to take me to the details page:

<a href="patientlist2.php?Patient_id=<?php echo $row_rsPatients['Patient_id']; ?>"><?php echo $row_rsPatientlist['Patient_id']; ?></a>

I am experiencing the same problem when trying to update records, only the first record will show up.

I'd appreciate any help.

Thank you

This topic has been closed for replies.
Correct answer DwFAQ

There is most likely something wrong with your recordset. Test the query in recordset window while building recordset to make sure you are getting desired results from recordset before placing and repeating on page.

1 reply

DwFAQ
Participating Frequently
May 20, 2009

Select your hyperlink and add a repeat region server behavior.

Have a look at this it may help.

May 20, 2009

Hi,

Thanks for the response.

I have a repeat region on my details page so all the records show up in the browser for the details page.

The first link on my master page takes me to the first record of the details page, however all subsequent links on the master page  for the other records will take me to the details page for the first record.

May 20, 2009

There is most likely something wrong with your recordset. Test the query in recordset window while building recordset to make sure you are getting desired results from recordset before placing and repeating on page.


Hi,

Oops sorry, I accidentally clicked on correct answer.

When I test my recordset everything is displayed and when I use the filter to choose a specific test value i.e. patient_id=8,   I get the desired results. So, I'm not really sure why the master page link is giving me so much trouble.