S
sammyk0072003
Guest
Hello all.
I'd really appreciate any help that you could offer I can't seem to find the answer to my question anywhere. My knowledge of Access is quite limited as I have only been using it for about 3 weeks. Unfortunately I do not work in IT so I also know nothing about VB either. However, I am at least partially computer savvy. So please answer in the simplest terms with specific instructions assuming that I know nothing about Access. I will try to explain my problem as completely as possible.
I created a database with 5 different tables.
There is a 1 general table with demographic info (age, sex, etc) and 4 specific tables linked to the general table in a 1 to many relationship based on the patients name.
Each of the specific tables contains data about a certain type of procedure that the child had on a particular date. Here are my 4 tables and date fields:
[OSAQuestionnaire].[OSA_DateSurveyed]
[SleepStudy].[SleepStudyDate]
[SpeechEval].[SpeechEvalDate]
[Surgical_data].[ProcedureDate]
I want to create a query (and eventually a report) with results for each child that is sorted in order by the date regardless of which table that field came from. I don't want to specify the order of those four tables. Said differently each child has multiple entries in each of the tables (the one-many relationship) and I want to know the order of entries in relation to each other regardless of the table the entry came from. What I don't want is a query with 4 sorted date fields in columns next to each other.
For example:
Child#1 OSAQuestionnaire on 1-1-04; Surgical_data 1-1-03; OSAQuestionnaire 1-1-02 etc.
Child#2 SpeechEval 1-2-03; Surgical_data 1-2-02; SpeechEval 1-2-01
The idea is to see how the various surgeries have affected the results of the other items over time. For child #2 I would like to compare his 2 SpeechEvals knowing (from my query) that the first SpeechEval was before surgery and the second SpeechEval was after surgery.
Thank you in advance for any help that you can lend to me,
Sam
I'd really appreciate any help that you could offer I can't seem to find the answer to my question anywhere. My knowledge of Access is quite limited as I have only been using it for about 3 weeks. Unfortunately I do not work in IT so I also know nothing about VB either. However, I am at least partially computer savvy. So please answer in the simplest terms with specific instructions assuming that I know nothing about Access. I will try to explain my problem as completely as possible.
I created a database with 5 different tables.
There is a 1 general table with demographic info (age, sex, etc) and 4 specific tables linked to the general table in a 1 to many relationship based on the patients name.
Each of the specific tables contains data about a certain type of procedure that the child had on a particular date. Here are my 4 tables and date fields:
[OSAQuestionnaire].[OSA_DateSurveyed]
[SleepStudy].[SleepStudyDate]
[SpeechEval].[SpeechEvalDate]
[Surgical_data].[ProcedureDate]
I want to create a query (and eventually a report) with results for each child that is sorted in order by the date regardless of which table that field came from. I don't want to specify the order of those four tables. Said differently each child has multiple entries in each of the tables (the one-many relationship) and I want to know the order of entries in relation to each other regardless of the table the entry came from. What I don't want is a query with 4 sorted date fields in columns next to each other.
For example:
Child#1 OSAQuestionnaire on 1-1-04; Surgical_data 1-1-03; OSAQuestionnaire 1-1-02 etc.
Child#2 SpeechEval 1-2-03; Surgical_data 1-2-02; SpeechEval 1-2-01
The idea is to see how the various surgeries have affected the results of the other items over time. For child #2 I would like to compare his 2 SpeechEvals knowing (from my query) that the first SpeechEval was before surgery and the second SpeechEval was after surgery.
Thank you in advance for any help that you can lend to me,
Sam