Bonsoir à tous,
Je suis nouveau sur le forum (nouvellement inscris mais j'y fais régulièrement un tour!) et je sollicite votre aide sur un problème Access qui m'a occupé toute la journée.
En fait, j'ai 2 tables : 'Entreprises' & 'Contacts' et mon objectif est d'en créer une troisième qu'on va appeler 'Résultat attendu'. Le critère qui me permettrait de faire le rapprochement entre ces 2 tables est le 'Code projet' (Projet 1, Projet 2...).
Voici un rapide aperçu du résultat que je souhaite obtenir :
Table 'Entreprises' :
Projet 1 Entreprise 1
Projet 1 Entreprise 2
Projet 2 Entreprise 1
Projet 2 Entreprise 3
Table 'Contacts' :
Projet 1 Contact 1
Projet 1 Contact 2
Projet 1 Contact 3
Projet 2 Contact 1
Projet 2 Contact 3
Projet 2 Contact 4
Table 'Résultat attendu' :
Projet 1 Entreprise 1 Contact 1
Projet 1 Entreprise 1 Contact 2
Projet 1 Entreprise 1 Contact 3
Projet 1 Entreprise 2 Contact 1
Projet 1 Entreprise 2 Contact 2
Projet 1 Entreprise 2 Contact 3
Projet 2 Entreprise 1 Contact 1
Projet 2 Entreprise 1 Contact 3
Projet 2 Entreprise 1 Contact 4
Projet 2 Entreprise 3 Contact 1
Projet 2 Entreprise 3 Contact 3
Projet 2 Entreprise 3 Contact 4
Le problème que j'ai est que je souhaiterais que les entreprises et contacts se 'dupliquent' autant de fois que le projet va les associer.
Je ne sais pas si je suis très clair.
Je vous remercie d'avance pour votre aide sur ce cas (et pour les différentes solutions que j'ai bénéficié avant en parcourant le forum),
Bonne soirée à tous.
Kcnarf78
Partager