Ok. I thought what I was doing was really basic. Stupid thing runs too. The information all sits there nice and happy for about two seconds and then the dreaded message pops up and jabs me. I took a basic employee roster with dates of births for employee's and their spouses (where given), and I ran a query to calculate age of the employee and of the spouse. Then off of this query I am running a second query that takes that age and compares it to a table that has the age and a rate that we use to calculate life insurance rates on. One for EE and one for Spouse. Both Ages on both reports are in General number format (I have checked like 6 times). I am lost as to why it is giving me this error except for the fact that I do have null values on the spouse side, but I am going to have null values on the spouse side. Some employee's do not have spouse's. I even removed the spouse information and tried to just compare the EE age to the EE rate, and it would not work - gave me the same error. Below is SQL for the query. Help please.
SELECT [EE Sp Ages].EEID, [EE Sp Ages].[EE AGE], [EE Sp Ages].[SP Age], EE_Life_Rate_Table.Rate, SP_Life_Rate_Table.Rate
FROM SP_Life_Rate_Table RIGHT JOIN (EE_Life_Rate_Table RIGHT JOIN [EE Sp Ages] ON EE_Life_Rate_Table.AGE = [EE Sp Ages].[EE AGE]) ON SP_Life_Rate_Table.AGE = [EE Sp Ages].[SP Age];
SELECT [EE Sp Ages].EEID, [EE Sp Ages].[EE AGE], [EE Sp Ages].[SP Age], EE_Life_Rate_Table.Rate, SP_Life_Rate_Table.Rate
FROM SP_Life_Rate_Table RIGHT JOIN (EE_Life_Rate_Table RIGHT JOIN [EE Sp Ages] ON EE_Life_Rate_Table.AGE = [EE Sp Ages].[EE AGE]) ON SP_Life_Rate_Table.AGE = [EE Sp Ages].[SP Age];