Duplicate output alias 'Expr1'

Hi,
I'm using access 2000.
I'm working on debugging a program that someone else created and it is frying my brain.
I'm getting an error that says Duplicate output alias 'Expr1'. I've tracked the error down to the attached code, but I'm not sure what is wrong.  
SELECT [T_Employee].[Employee Number], 
[T_Employee].[Employee Status], 

[T_Employee].[Employee First Name], [T_Employee].[Employee Last Name], 

IIf([FMLAnotOTDThoursWorkedSum]![SumOfDays/Hours Leave] Is 

Null,0,[FMLAnotOTDThoursWorkedSum]![SumOfDays/Hours Leave]) AS HoursOut, 

IIf([FMLAOTDThoursWorkedSum]![SumOfDays/Hours Leave] Is 

Null,0,[FMLAOTDThoursWorkedSum]![SumOfDays/Hours Leave]) AS HoursOTDT, 

IIf([FMLASumFMused]!FMLABalance Is Null,IIf([T_Employee]![Employee 

Status]='F',480,350),[FMLASumFMused]!FMLABalance) AS HoursFMLAbalance, 

[FMLAHoursWorkedSummary].[SumOfTHours] AS HoursWorked, [FMLA Date]-364 AS Expr3, [FMLA 

Date] AS Expr4

FROM FMLAOTDThoursWorkedSum, FMLASumFMused, FMLAHoursWorkedSummary, 

FMLAnotOTDThoursWorkedSum INNER JOIN T_Employee ON [FMLAnotOTDThoursWorkedSum].[Employee 

Number]=[T_Employee].[Employee Number]

WHERE ((([T_Employee].[Employee Number])=[EmployeeNumber]))

WITH OWNERACCESS OPTION;

Open in new window

coperations07Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rey Obrero (Capricorn1)Commented:
if any of these is a query

FMLAOTDThoursWorkedSum,
FMLASumFMused,
FMLAHoursWorkedSummary,

FMLAnotOTDThoursWorkedSum

inspect the SQL statement.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HainKurtSr. System AnalystCommented:
run these queries

select * from FMLAOTDThoursWorkedSum
select * from FMLASumFMused
select * from FMLAHoursWorkedSummary
select * from FMLAnotOTDThoursWorkedSum
select * from T_Employee

and check column names for Expr1 and fix it...
coperations07Author Commented:
Thanks guys that got me through this error. I came up w/ another one now, but I will repost for it.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.