M
mguffey5
I've asked this question before and got an answer from Mr. Allen Brown but
that answer doesn't seem to work, even after multiple tries and attempts to
do so.
I have a database that has multiple relationships such as the following
Main database is called cadets2 and it has relationships to the following:
PFA Data
PDT Data
FTU Data
AFOQT Data
Security Clearance
Now the main data entry is pulled from cadets2 and I enter most of my data
on that form and its stored in that table and queries are pulled and reports
generated correctly.
The problem I'm running into is this. The above 5 listed tables that have
relationships to the cadets 2 table also store data that I need on some
reports, and the data stored in these tables is entered through sub-forms on
the main data entry form for the database.
My problem is as follows, all 4 of those tables will have multiple or
duplicate records for each cadet but I only need the most current one to show
in the query that is linked to the report for example in AFOQT Data a Cadet
takes this test and we get their scores and enter that information on the
sub-form so it is stored in the AFOQT Data table, but that cadet failed the
1st time so they have to retake the test 6 months down the road, after the
cadet takes the test a 2nd time we enter that data and they pass. How do I
get the query and report to only show the most current data be a fail or pass.
The table for AFOQT has the following cells:
Last Name
SSAN
AFOQT Pilot
AFOQT CSO
AFOQT AA
AFOQT Verbal
AFOQT Quantative
Pilot Qualified
CSO Qualified
2nd Failure
AFOQT Date
PIlot CSO Totals
Status
I forgot to mention that the relationship link to all the tables above are
Last Name and SSAN.
I can't just look for a specific date period as we have cadets who have been
with us for 4 - 5 years and we need their AFOQT data (most current) to show
up on the report/query only.
Now for the PFA Data cadets are required to take the PFA once each semester
and twice during the spring semester of the sophomore year and twice during
their last semester of the graduating year. Again I only need the most
current data to show up and this is not happening in either case with Mr.
Browns recommendations as it still duplicates the record on the report
showing multiple entries on the same person with all data on them the same
except the PFA data.
Here is the previous post I had with Mr. Brown's reply:
http://www.microsoft.com/communitie...cess&mid=e7cfbd4c-d054-4da9-a6d7-4ddac6e61ba2
The database is to large to upload as its over 200MB with all the data in it
and its protected under the Privacy Act.
Hopefully this helps.
v/r
Matt
that answer doesn't seem to work, even after multiple tries and attempts to
do so.
I have a database that has multiple relationships such as the following
Main database is called cadets2 and it has relationships to the following:
PFA Data
PDT Data
FTU Data
AFOQT Data
Security Clearance
Now the main data entry is pulled from cadets2 and I enter most of my data
on that form and its stored in that table and queries are pulled and reports
generated correctly.
The problem I'm running into is this. The above 5 listed tables that have
relationships to the cadets 2 table also store data that I need on some
reports, and the data stored in these tables is entered through sub-forms on
the main data entry form for the database.
My problem is as follows, all 4 of those tables will have multiple or
duplicate records for each cadet but I only need the most current one to show
in the query that is linked to the report for example in AFOQT Data a Cadet
takes this test and we get their scores and enter that information on the
sub-form so it is stored in the AFOQT Data table, but that cadet failed the
1st time so they have to retake the test 6 months down the road, after the
cadet takes the test a 2nd time we enter that data and they pass. How do I
get the query and report to only show the most current data be a fail or pass.
The table for AFOQT has the following cells:
Last Name
SSAN
AFOQT Pilot
AFOQT CSO
AFOQT AA
AFOQT Verbal
AFOQT Quantative
Pilot Qualified
CSO Qualified
2nd Failure
AFOQT Date
PIlot CSO Totals
Status
I forgot to mention that the relationship link to all the tables above are
Last Name and SSAN.
I can't just look for a specific date period as we have cadets who have been
with us for 4 - 5 years and we need their AFOQT data (most current) to show
up on the report/query only.
Now for the PFA Data cadets are required to take the PFA once each semester
and twice during the spring semester of the sophomore year and twice during
their last semester of the graduating year. Again I only need the most
current data to show up and this is not happening in either case with Mr.
Browns recommendations as it still duplicates the record on the report
showing multiple entries on the same person with all data on them the same
except the PFA data.
Here is the previous post I had with Mr. Brown's reply:
http://www.microsoft.com/communitie...cess&mid=e7cfbd4c-d054-4da9-a6d7-4ddac6e61ba2
The database is to large to upload as its over 200MB with all the data in it
and its protected under the Privacy Act.
Hopefully this helps.
v/r
Matt