One master and two details table?

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
accora
User
Posts: 46

One master and two details table?

Post by accora »

Hi,
I had a master and a detail table connected, and worked well. In custom templatebody I used {{{list_option detail_actions}}} to display the detail add button.
I created a second detail table, but the button disappeared.

In your demo, there are two details for one master in the orders page: phpdemo2017/orderslist.php
Or does it work if the second table is a view?


mobhar
User
Posts: 11703

Post by mobhar »

accora wrote:
Or does it work if the second table is a view?

It depends on how you setup your Database View in your PHPMaker project. In other words, if you do not enable Add for that Database View, then you will never see that button.


Post Reply