This topic is locked
[SOLVED]

 Link from list-view to a table

12/12/2013 1:58:13 PM
PHPRunner General questions
Karlo_from_Germany author

In my database there is, among many other tables, one table "OPERATION" and a table "evidence objects". In both tables, the "Nivadis" field exists. In the list view of the table "evidence objects" the value "Nivadis" is displayed. How can I put a link to this displayed value, so that the table "process" with exactly this value from the field "Nivadis" is displayed (in list view). The value of the field "Nivadis" can exist multiple times in the table.

Sergey Kornilov admin 12/12/2013

I'm not 100% sure I understand this question. Could you supply some sort of screenshot that explains what you trying to achieve?

Karlo_from_Germany author 12/14/2013



I'm not 100% sure I understand this question. Could you supply some sort of screenshot that explains what you trying to achieve?


Ok, it seems to be a little bit difficult, so I will try to explain ist. On the first screenshot you see the "normal list view" of our database. As you see, there is a field called "NIVADIS", marked with an arrow.


On the second screenshot, you see a different "List-view", there you can find a list of all "Asservate", also with a field "NIVADIS".


I wish to show the item "NIVADIS" in this view as a link, with a click on the link, (as example a click on the value 201100207741) the result should be like shown at the third screenshot


I hope, this helps to declare my problem.
Greetings from Germany

Karlo

Sergey Kornilov admin 12/16/2013

I guess I understand what you saying. Set 'View as' type of this field to 'Custom' and try something like this:

$value = '<a href="process_list.php?qs='.$value.'">'.$value.'</a>';
Karlo_from_Germany author 1/8/2014



I guess I understand what you saying. Set 'View as' type of this field to 'Custom' and try something like this:

$value = '<a href="process_list.php?qs='.$value.'">'.$value.'</a>';



Hm...doesn´t work. I will try to find an different way. Thanks for reply.

Sergey Kornilov admin 1/8/2014

If you explain what exactly doesn't work or, at least, what it does we can help you further.