× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Creating Sub Tables

8 года 5 мес. назад #1349 от waqas
waqas создал тему: Creating Sub Tables
is it possible to create sub tables. and can we create an application like small school management system using component creator

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

8 года 3 мес. назад #1389 от Andy
Andy ответил в теме Creating Sub Tables
Did anyone figure out the answer to this?

Not sure of the use-case of the OP, but what we want to do is kind of like an address book system.

So we have contacts, and each contact can have one or more addresses, which are children of only that contact. These would be in another table with a value that links rows to the parent. When you view a contact it lists it's addresses. When you edit a contact, it lets you add, edit and delete it's addresses.

This is kind of sub tables / sub forms / sub views.

Is this possible to do with Component Creator?

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

8 года 3 мес. назад #1391 от Super User
Super User ответил в теме Creating Sub Tables
Yes it is possible to link to tables with a "foreign key" field.

In fact in this example video I am setting up a school system with a foreign key field.

Спасибо сказали: Andy

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

8 года 3 мес. назад #1393 от Andy
Andy ответил в теме Creating Sub Tables
Thanks, that's a great video demo.

This will probably get me most of the way there I think. I'll just need to add some logic to allow add / edit / delete the key associated data from it's parent.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Время создания страницы: 0.076 секунд
Работает на Kunena форум

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.