Forums

5 tables connection

cornelio 29 Dec, 2014
Hi,
the problem is always tied to the pk, but how?

I have 5 models corresponding to 5 joined tables through inner join.
(see attachment)

I would understand if:

1. the model containing the pk to be the first;
2 I make searchable fields of the model-4 and model-5 I get error Unknown column in 1054, while it works perfectly on other models

I would like to set the research fields on all models (tables)

thanks a lot
Max_admin 30 Dec, 2014
Hi Camelio,

I have created a new topic, because this question is not related to the other topic.

Normally if the 5 tables are joined using an inner join then the search should work fine, please leave the "Fields" boxes empty in all your models settings.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.