×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Creating Sub Tables
waqas
New Member
Posts: 1
pred 8 rokmi 5 mesiacmi #1349
od waqas
Creating Sub Tables bolo vytvorené waqas
is it possible to create sub tables. and can we create an application like small school management system using component creator
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Andy
New Member
Posts: 7
pred 8 rokmi 3 mesiacmi #1389
od Andy
Odpoveď od Andy na tému 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?
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?
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Super User
Administrator
Posts: 13
pred 8 rokmi 3 mesiacmi #1391
od Super User
Odpoveď od Super User na tému 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.
In fact in this example video I am setting up a school system with a foreign key field.
Nasledujúci užívateľ(ia) povedali ďakujem: Andy
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Andy
New Member
Posts: 7
pred 8 rokmi 3 mesiacmi #1393
od Andy
Odpoveď od Andy na tému 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.
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.
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Čas vytvorenia stránky: 0.052 sekúnd