I have created a report based on a query that combines three tables.
Explorer Posts: (1)
PostID (PK)
PostNumber
PostAgency
PostAddress
PostCity
ETC
Explorer Teams: (2)
TeamID(PK)
CTeamNumber
PostNum (FK)
PostTeamNumber
Events: (3)
EventID (PK)
EventName
TeamNumber_FK (FK)
Score
SQL Script:
Code:
SELECT [Explorer Posts].PostID, [Explorer Posts].PostNumber, [Explorer Posts].PostAgency, [Explorer Teams].PostTeamNum, [Explorer Teams].CTeamNumber, Events.EventName, Events.Score
FROM ([Explorer Posts] INNER JOIN [Explorer Teams] ON [Explorer Posts].[PostID] = [Explorer Teams].[PostNumber]) INNER JOIN Events ON [Explorer Teams].[TeamID] = Events.[TeamNum_FK]
ORDER BY Events.EventName;
When running the query it displays the information I want. When I go to put it in a report. It changes the EventName to its EventID and not the actual name of the event.. Any help would be nice..
Thanks all