Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Column Names Not correct 1

Status
Not open for further replies.

quig699

Technical User
Nov 7, 2006
42
US
I have a query that I have three tables joined. The join properties are all set to only include rows where the joined fields from both tables are equal. The tables are erors, employee list and supervisor. Most of the query columns are from the Errors table. Then I have a "supervisor" column from Employee List and columns "divisiion" and "location" from Supervisor table. My problem is that when I run the query the "division" column is listed as Supervisor.Division and I have no idea why it is renaming it. The other column "location" from the same table shows up fine. I have used this type of joining in a query previously and have not had this happen. Any thoughts??

Thanks so much!!
Amy
 




Hi,

TableName.ColumnName
is standard notation.

Could it be that the Division column appears in more than one of your three tables AND it is not in the join?

Skip,

[glasses] [red][/red]
[tongue]
 
You are correct. I have another column named Division based on one of the other tables in my query. Thank you so much!!! You have saved my sanity!!!

AMY
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top