A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

problem with subform



 
 
Thread Tools Display Modes
  #1  
Old January 28th, 2005, 11:35 AM
Nuno Camarinhas
external usenet poster
 
Posts: n/a
Default problem with subform

I have a database on Projects. I have PROJECTS that can have many
participants, and PERSONS that participate in many PROJECTS.
Therefor, I created:
- a PROJECTS table;
- a PERSONS table;
- a PARTICIPATION table that relates PROJECT_ID with PERSONS_ID hence
identifying who enters which project and what projects one has been to.

I want to have a PROJECTS form with a subform that shows the PERSONS
involved. It shoul allow me to enter new persons involved. I've done that it
is working fine.

I also want a PERSONs form with a subform that shows me in which projects
has he worked.

Fiz tabela de PROJECTOS; tabela de INTERVENIENTES; e tabela de PARTICIPAÇÃO
(que faz a ligação ID_PROJECTO com ID_INTERVENIENTE) para saber que
determinado gajo entra no projecto x e que o projecto x tem a ntervenção do
gajo y. Até aqui tudo bem. As for the PROJECTS form, this should also allow
me to enter new information on the subform. But here it doesn't work. What I
get is a closed subform that doesn't allow any addition or editing of
information. I think it's because here, I have to use a combination of
information that comes from the PARTICIPATION table as well as from the
PROJECTS table (information on the date for example).

Can anyone give me some advice or tips on how t deal with this problem.

Thanks in advance,
Nuno

Quero ter dois formulários:
Um de PROJECTOS que tem um subform com os gajos que entram no projecto e que
permita inserir novas fichas de novos gajos. Funciona.

Outro de INTERVENIENTES que me diga em que projectos cada tipo entra.
Resultado: um subform fechado que não permite acrescentar ou apagar registos.

Acho que sei porque isto resulta: enquanto o subform de PROJECTOS usa
informação simples que provem toda do campo PARTICIPAÇÃO; o subform de
INTERVENIENTES precisa de combinar dados provenientes de PARTICIPAÇÃO e de
PROJECTOS. É o facto de combinar dados de tabelas diferentes que faz com o
resultado seja uma conjunto de registos não editáveis.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Form Subform data export [email protected] Using Forms 6 January 6th, 2005 06:25 PM
Just upsized to SQL, problem with subform LouD General Discussion 0 November 12th, 2004 04:09 PM
problem completing child field in subform Robert Using Forms 1 October 12th, 2004 04:49 PM
Need help with cascading combos Tom Using Forms 19 July 1st, 2004 11:11 PM
Subform problem reno.04 Using Forms 3 July 1st, 2004 09:09 AM


All times are GMT +1. The time now is 07:24 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.