Hi,
I have two views, one is named "atmer" and the other one "complex".
atmer just have 1 field, this is named "Naam"; this is the master
complex (the detail) have more then 1 field, they are:
Naam
Object
Adres
Plaats
I want to create hyperlinks in the "master"view atmer so if I click on the field "Naam" the result is al the records from the view "complex" which belong to the specific field I've clicked on.
Whithin Table Specific Common - Row_Rendered I wrote the code :
// Row Rendered event
function Row_Rendered() {
if (CurrentPageID() == "list"){ // the name of the current page = atmerlist.php
$this->Naam->ViewValue = "<a href='complexlist.php?cmd=search&t=complex&psearch=".$this->Naam->CurrentValue."&psearchtype='>".$this->Naam->CurrentValue."</a>";
}
}
But there is no result regarding this code, when I go to the list "atmer" the page is listing all off the fields "Naam", and at the left of each "Naam" there is a link named "complex" (this is the standard lay-out of Master / Detail).
Can anyone point me out to the right direction?
Thanks.
Martin