K
Kath
I use this in my query, and produce a report for the list
of schools I don't yet have catalogs. Somehow the report
comes out wrong with multiple lines of the same school
wiht the same copy year. (see example below) the SQL code.
SELECT DISTINCTROW [TBL_Catalog Status].[Institution
Name], [TBL_Catalog Status].[Copy Year], [TBL_Catalog
Status].Received, [TBL_Catalog Status].Evaluated,
TBL_Schools.Type, TBL_Schools.[School Code], [TBL_CC
Address].FNAME, [TBL_CC Address].LNAME, [TBL_CC
Address].Title, [TBL_CC Address].CONTACTOFFICE, [TBL_CC
Address].STR1, [TBL_CC Address].STR2, [TBL_CC
Address].CITY, [TBL_CC Address].STATE, [TBL_CC
Address].ZIPC
FROM (TBL_Schools INNER JOIN [TBL_Catalog Status] ON
TBL_Schools.[Institution Name] = [TBL_Catalog Status].
[Institution Name]) INNER JOIN [TBL_CC Address] ON
[TBL_Catalog Status].[Institution Name] = [TBL_CC
Address].SCHOOLNAME
ORDER BY [TBL_Catalog Status].Received;
This report looks totally wrong with
BCC 2003 - 2004
BCC 2003 - 2004
CCC 2001 - 2003
CCC 2001 - 2003
As they exist only once in the table. what is done wrong
in my code for the consequent report to become like such?
Any help, suggestions are appreciated!
Kath
of schools I don't yet have catalogs. Somehow the report
comes out wrong with multiple lines of the same school
wiht the same copy year. (see example below) the SQL code.
SELECT DISTINCTROW [TBL_Catalog Status].[Institution
Name], [TBL_Catalog Status].[Copy Year], [TBL_Catalog
Status].Received, [TBL_Catalog Status].Evaluated,
TBL_Schools.Type, TBL_Schools.[School Code], [TBL_CC
Address].FNAME, [TBL_CC Address].LNAME, [TBL_CC
Address].Title, [TBL_CC Address].CONTACTOFFICE, [TBL_CC
Address].STR1, [TBL_CC Address].STR2, [TBL_CC
Address].CITY, [TBL_CC Address].STATE, [TBL_CC
Address].ZIPC
FROM (TBL_Schools INNER JOIN [TBL_Catalog Status] ON
TBL_Schools.[Institution Name] = [TBL_Catalog Status].
[Institution Name]) INNER JOIN [TBL_CC Address] ON
[TBL_Catalog Status].[Institution Name] = [TBL_CC
Address].SCHOOLNAME
ORDER BY [TBL_Catalog Status].Received;
This report looks totally wrong with
BCC 2003 - 2004
BCC 2003 - 2004
CCC 2001 - 2003
CCC 2001 - 2003
As they exist only once in the table. what is done wrong
in my code for the consequent report to become like such?
Any help, suggestions are appreciated!
Kath