djugene188
IS-IT--Management
Sorry to bother, but any help is truly appreciated. I have 3 tables:
tblClient, tblRequests, tblEmail
Relationship of tblClient to tblRequest is 1 to Many
Relationship of tblClient to tblEmail is 1 to 1
tblClient
--------
PersonID (PK) FName
1 Eric
2 Mike
3 Dave
4 Jan
tblRequest
-----------
RequestID(PK) PersonID(FK) RequestType RequestDate
1 1 Catering 04/15/09
2 1 Catering 04/17/09
3 2 Travel 03/09/09
4 2 Hotel 03/09/09
5 2 Travel 04/01/09
6 3 Catering 02/01/09
7 3 Catering 04/08/09
tblEmail
--------
EmailID(PK) PersonID(FK) Email fldsend
1 1 eric@test.com
2 2 mike@test.com
3 3 dave@test.com
4 4 jan@test.com
What I would like to get is the information combined into one form to show only one request type per person and also have the fldsend updateable for each row as needed. I've
tried select distinct to get the RequestType to show only once, but of course the fields aren't updateable.
I've also tried UNION queries and have gotten the same result of the fields not be able to update.
Resulting table should look something like this.(some of the preceeding fields were removed for simplicity sake--all PK & FK would need to be in the result for the fields to be updateable in a continuous form):
PersonID FName RequestType Email fldsend
1 Eric Catering eric@test.com
2 Mike Travel mike@test.com
2 Mike Hotel mike@test.com
3 Dave Catering dave@test.com
In this case, 'Jan' would not be in the resulting query due to the fact that there were no RequestType associated with her record.
It is at this point the user should be able to add notes to the fldsend.
I really appreciate any info that could be provided. Please let me know if I
did not supply enough info.
Djugene
tblClient, tblRequests, tblEmail
Relationship of tblClient to tblRequest is 1 to Many
Relationship of tblClient to tblEmail is 1 to 1
tblClient
--------
PersonID (PK) FName
1 Eric
2 Mike
3 Dave
4 Jan
tblRequest
-----------
RequestID(PK) PersonID(FK) RequestType RequestDate
1 1 Catering 04/15/09
2 1 Catering 04/17/09
3 2 Travel 03/09/09
4 2 Hotel 03/09/09
5 2 Travel 04/01/09
6 3 Catering 02/01/09
7 3 Catering 04/08/09
tblEmail
--------
EmailID(PK) PersonID(FK) Email fldsend
1 1 eric@test.com
2 2 mike@test.com
3 3 dave@test.com
4 4 jan@test.com
What I would like to get is the information combined into one form to show only one request type per person and also have the fldsend updateable for each row as needed. I've
tried select distinct to get the RequestType to show only once, but of course the fields aren't updateable.
I've also tried UNION queries and have gotten the same result of the fields not be able to update.
Resulting table should look something like this.(some of the preceeding fields were removed for simplicity sake--all PK & FK would need to be in the result for the fields to be updateable in a continuous form):
PersonID FName RequestType Email fldsend
1 Eric Catering eric@test.com
2 Mike Travel mike@test.com
2 Mike Hotel mike@test.com
3 Dave Catering dave@test.com
In this case, 'Jan' would not be in the resulting query due to the fact that there were no RequestType associated with her record.
It is at this point the user should be able to add notes to the fldsend.
I really appreciate any info that could be provided. Please let me know if I
did not supply enough info.
Djugene