H
Holstein
I imported data from a .txt file into an Access XP table.
The .txt file had information for 5 different record
types so I created 5 different tables and pasted the data
for each record type into each table so I could look at
the data and make sense of it. (the five different
records had different columns for info)> Now I have 5
tables with info in them named RecordType1, RecordType2
and so on. I am trying to create a query to look at all
the data in all the tables and whenever I add columns for
more than one table I don't get any data. The SQL query
is shown here: SELECT RecordType1.ID,
RecordType1.Record_Type, RecordType2.Case_Number,
RecordType3.Species_Code, RecordType4.Animal_ID
FROM (((RecordType1 INNER JOIN RecordType2 ON
RecordType1.ID = RecordType2.ID) INNER JOIN RecordType3
ON (RecordType1.ID = RecordType3.ID) AND (RecordType2.ID
= RecordType3.ID)) INNER JOIN RecordType4 ON
(RecordType1.ID = RecordType4.ID) AND (RecordType3.ID =
RecordType4.ID)) INNER JOIN RecordType99 ON
(RecordType1.ID = RecordType99.ID) AND (RecordType4.ID =
RecordType99.ID);
Sorry for the long post but I hope I explained what I'm
trying to do. Any help is appreciated. Thanks in advance.
The .txt file had information for 5 different record
types so I created 5 different tables and pasted the data
for each record type into each table so I could look at
the data and make sense of it. (the five different
records had different columns for info)> Now I have 5
tables with info in them named RecordType1, RecordType2
and so on. I am trying to create a query to look at all
the data in all the tables and whenever I add columns for
more than one table I don't get any data. The SQL query
is shown here: SELECT RecordType1.ID,
RecordType1.Record_Type, RecordType2.Case_Number,
RecordType3.Species_Code, RecordType4.Animal_ID
FROM (((RecordType1 INNER JOIN RecordType2 ON
RecordType1.ID = RecordType2.ID) INNER JOIN RecordType3
ON (RecordType1.ID = RecordType3.ID) AND (RecordType2.ID
= RecordType3.ID)) INNER JOIN RecordType4 ON
(RecordType1.ID = RecordType4.ID) AND (RecordType3.ID =
RecordType4.ID)) INNER JOIN RecordType99 ON
(RecordType1.ID = RecordType99.ID) AND (RecordType4.ID =
RecordType99.ID);
Sorry for the long post but I hope I explained what I'm
trying to do. Any help is appreciated. Thanks in advance.