hardkiffeur
Member
Hy,
need some structure advice for my goal because seems get complicate with a new gestion of JoinList ?
What I have and what is my goal.
Tables :
pg_contacts
pg_contact_etudefin
pg_contact_demande
pg_contact_fiches
pg_contacts :
is my table with minimum informations from a contact
Like id / datetime / last_name / first_name / TYPE /adresse /phone and so)
pg_contact_etudefin :
is a table with" financial " informations attach to a contact
a lot of "Numbers element"
Like (could have One or more row attach to the contact)
pg_contact_demande :
a global request from(attach) to one or Two contacts
pg_contact_fiches :
The list(form) where I should attach one or two contacts from the pg_contacts's list and have the "etudefin "group form by contact (so one or two) and information about "demande"
So I've fiche_id element on pg_contact table, and contact_id element on the etudefin table.
Try this under the pg_contact_fiches
Join Left from pg_contact_fiches to pg_contacts from id to fiche_id (repeate group base on Contact group)
and Left from pg_contacts to pg_contact_etudefin from id to contact_id
Basically the contact_id and fiche_id are database joint element looking to the Foreign table.
What I looking for is having the Fiche's form for manage One or Two contacts with same goal and with their own information. Then on a php file I could get and analyse contact's data from this form and so on save if all stuff is like I want update their Statut.
But at this time, when I add some Contact from the add to the fiche's list, I have some issues with data inform on the repeat group, like I ask on some other thread.
Could you point me the way to achieve this with the Fabriktools and Goodpratics ?
need some structure advice for my goal because seems get complicate with a new gestion of JoinList ?
What I have and what is my goal.
Tables :
pg_contacts
pg_contact_etudefin
pg_contact_demande
pg_contact_fiches
pg_contacts :
is my table with minimum informations from a contact
Like id / datetime / last_name / first_name / TYPE /adresse /phone and so)
pg_contact_etudefin :
is a table with" financial " informations attach to a contact
a lot of "Numbers element"
Like (could have One or more row attach to the contact)
pg_contact_demande :
a global request from(attach) to one or Two contacts
pg_contact_fiches :
The list(form) where I should attach one or two contacts from the pg_contacts's list and have the "etudefin "group form by contact (so one or two) and information about "demande"
So I've fiche_id element on pg_contact table, and contact_id element on the etudefin table.
Try this under the pg_contact_fiches
Join Left from pg_contact_fiches to pg_contacts from id to fiche_id (repeate group base on Contact group)
and Left from pg_contacts to pg_contact_etudefin from id to contact_id
Basically the contact_id and fiche_id are database joint element looking to the Foreign table.
What I looking for is having the Fiche's form for manage One or Two contacts with same goal and with their own information. Then on a php file I could get and analyse contact's data from this form and so on save if all stuff is like I want update their Statut.
But at this time, when I add some Contact from the add to the fiche's list, I have some issues with data inform on the repeat group, like I ask on some other thread.
Could you point me the way to achieve this with the Fabriktools and Goodpratics ?