magister011
Registered User.
- Local time
- Today, 04:20
- Joined
- Aug 18, 2009
- Messages
- 17
I am using Access 2003 to try to make a small database example to play with for a later bigger project. Here is how the database is set up:
tblProject
-fldProjPK
-fldProjNum
-fldProjNam
-fldProjContNum
tblIntermediate
-fldIntPK
-fldIntProjFK1
-fldIntProjFK2
tblProject_1
This is a virtual copy of tblProject
I have a relationship link from tblProject, fldProjPK to tblIntermediate, fldIntProjFK1 and from tblProject_1, fldProjPK to tblIntermediate, fldIntProjFK2 to make a query.
I am also showing in my query, fldProjNum from tblProject, fldProjNam from tblProject, fldProjContNum from tblProject, fldProjNum from tblProject_1, and fldProjNam from tblProject_1.
My subform is a continuous form with the record source coming from the query.
My main form is a single form with the record source coming from my project table.
What I am trying to do is to get my data to show on the main form with the Project Number, Project Name and the Contract Number. We have several instances where we have the same Project Number as a Contract Number but in the Sub Form we may have different Project Numbers and Project Names that are part of that main Project Name and Number.
We also may have on the occasion where we do not have a main Project Number but a main Project Name along with different Project Numbers and Names that I want shown in the sub form.
I am going to try to enclose a copy of the database so that all of this will make sense.
Please feel free to ask me any questions. This is a major stepping stone for the much bigger database that I am working on.
Thank you so much for anyones assistance.
Dave (aka magister011)
tblProject
-fldProjPK
-fldProjNum
-fldProjNam
-fldProjContNum
tblIntermediate
-fldIntPK
-fldIntProjFK1
-fldIntProjFK2
tblProject_1
This is a virtual copy of tblProject
I have a relationship link from tblProject, fldProjPK to tblIntermediate, fldIntProjFK1 and from tblProject_1, fldProjPK to tblIntermediate, fldIntProjFK2 to make a query.
I am also showing in my query, fldProjNum from tblProject, fldProjNam from tblProject, fldProjContNum from tblProject, fldProjNum from tblProject_1, and fldProjNam from tblProject_1.
My subform is a continuous form with the record source coming from the query.
My main form is a single form with the record source coming from my project table.
What I am trying to do is to get my data to show on the main form with the Project Number, Project Name and the Contract Number. We have several instances where we have the same Project Number as a Contract Number but in the Sub Form we may have different Project Numbers and Project Names that are part of that main Project Name and Number.
We also may have on the occasion where we do not have a main Project Number but a main Project Name along with different Project Numbers and Names that I want shown in the sub form.
I am going to try to enclose a copy of the database so that all of this will make sense.
Please feel free to ask me any questions. This is a major stepping stone for the much bigger database that I am working on.
Thank you so much for anyones assistance.
Dave (aka magister011)
Attachments
Last edited: