This topic is locked
[SOLVED]

 Amazing feature

1/16/2012 8:52:10 AM
PHPRunner General questions
M
mune72 author

Hi all
I have a list of the record in the table; for each row there is the lnk t the detais table for the field of the primary table.
In the list it is a empty list, but if I say to Firefoz to open a new tab with link it works.
Strange...
Do you have any ideas?

C
cgphp 1/16/2012

Please, try to reformulate your question. It is a bit confused.

M
mune72 author 1/16/2012



Please, try to reformulate your question. It is a bit confused.


You are right, there are a lot of typos, too.
I try again with a very simple example.
The database coitains the tables TABLE_A and TABLE_B
TABLE TABLE_A

ID_A

ID_B

INFO_A

PRIMARY KEY ID_A

EXTERNAL KEY TABLE_B.ID_B
TABLE TABLE_B

ID_B

INFO_B

PRIMARY KEY ID_B
[ ... Got confused, sorry ...]
--------------- CORRECT VER (wrong tab) ----------------------
In the list view in the tab for "TABLE_B" there is a link to open a space right below each row in "TABLE_B" to show the records in TABLE_A where TABLE_B.ID_B=TABLE_A.ID_B, but it does an empty list.
The odd thing is tthat clicking on that link and choosing in Firefox "Open the link in a new tab" it works!

M
mune72 author 1/24/2012

I thought to an even understandable scenario.
There is a customers table.
There is an order table.
Each time the customer "ACME" (ID=13 in the table customer) places a new order, in the table orders a new record is generated with the field customer_id=13.
The table orders is the master one while the customers one is for details.
I want that in the list page for the table customers there is the link to expand the list and see all the customer orders.

M
mune72 author 2/6/2012



I thought to an even understandable scenario[...]


I apologize: it turned out that it was a many-to-many relation and I have thought PHPRunner automagically dealt with those: I make it work part on my own and part following this article http://xlinesoft.com/blog/2011/02/28/how-to-setup-many-to-many-relationships/