| Index
» Projekty
» phpMyEdit
» Fórum
» Configuring for many:many relationships |
 |
jjk3
Založený: 08.01.2007
Príspevky: 3
Zaslal: 2007-06-08 17:28
Návrat hore
Odpovedať s citátom
|
Is it possible to configure phpMyEdit to support many:many table relationships?
For example, I have the following tables:
organizations
systems
An organization can be associated with many systems, and a system can be associated with many organizations. So I have an extra junction table:
org_sys
This one just contains foreign key pairs that link the two original tables. How can I set up phpMyEdit to support this junction table transparently? Is it possible? I'm thinking something like when editing an organization, being able to select multiple systems, and vice versa, and having it automatically create the right records in org_sys.
Thanks in advance.
|
jorges
Založený: 20.08.2007
Príspevky: 2
Zaslal: 2007-08-20 03:47
Návrat hore
Odpovedať s citátom
|
i didnt manage to use phpMyEdit to do the job, maybe there is a way, but i dont think so...
What I did was I created triggers after insert to update tables accordialy, but this is a quick fix, not a fully integrated solution.
Have you had any luck with this?
|
jjk3
Založený: 08.01.2007
Príspevky: 3
Zaslal: 2007-08-20 15:11
Návrat hore
Odpovedať s citátom
|
Sorry, I have not. I've since switched over to another database system to solve my problem.
|
jorges
Založený: 20.08.2007
Príspevky: 2
Zaslal: 2007-08-20 23:37
Návrat hore
Odpovedať s citátom
|
would u mind if i ask which one?
|
jjk3
Založený: 08.01.2007
Príspevky: 3
Zaslal: 2007-08-21 14:32
Návrat hore
Odpovedať s citátom
|
Oh, I switched from MySQL altogether. My project was small enough that I'm using MS Access now.
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|