This topic is locked
[SOLVED]

 How to add child records on a custom view page

3/11/2015 6:36:30 PM
PHPRunner General questions
Z
zeth385 author

Hi, there. I've created a Custom View of two related tables. I've also created a custom View Page, in order to display the records of them. This is the structure of the tables:
Table 1
Name: John Doe

Address: Evergreen Av. 2

Phone: 555-555-555
Table 2
Name: John Doe

Cars: Mazda

Cars:Honda

Cars:GMC
The "cars" field appears as child records, because in my original database, the name "John Doe" appears three times, each one with a different car.
What I need is that in the custom View Page I can see the three cars on one single field, displayed vertically, [size="2"]Something like this:[/size]
Name: John Doe Address: Evergreen Av.2 Phone:555-555-555

Cars:

Honda

Mazda

GMC
The only thing I've managed to display is one single child record...
Thanks in advance.
BTW, I'm Using PHPRunner 8.0 Enterprise edition

Z
zeth385 author 3/12/2015

Nevermind... I solved it by editing the VIEW page on the master table, which showed the child records on the same page.