Actually, it works fine with three linked tables, but when I add a fourth the
records in the main table will not display so that I am able to edit them.
Is there a limit on the number of linked tables that may be added to an
autolookup query? I would prefer not using a subform. The SQL is as follows:
SELECT [FY2006-07].Priority1, Priority1.Rate AS Rate1, [FY2006-07].WPSInit1,
[FY2006-07].OutputType1, OutputType1.Adjust AS Adjust1, [FY2006-07].Code1,
Code1.Weight AS Weight1, [FY2006-07].Units1, [FY2006-07].Output1,
[FY2006-07].Priority2, [FY2006-07].WPSInit2, [FY2006-07].OutputType2,
[FY2006-07].Code2, [FY2006-07].Units2, [FY2006-07].Output2,
[FY2006-07].Priority3, [FY2006-07].WPSInit3, [FY2006-07].OutputType3,
[FY2006-07].Code3, [FY2006-07].Units3, [FY2006-07].Output3,
[FY2006-07].WPSInit4, [FY2006-07].OutputType4, [FY2006-07].Code4,
[FY2006-07].Units4, [FY2006-07].Output4, [FY2006-07].WPSInit5,
[FY2006-07].OutputType5, [FY2006-07].Code5, [FY2006-07].Units5,
[FY2006-07].Output5, [FY2006-07].WPSInit6, [FY2006-07].OutputType6,
[FY2006-07].Code6, [FY2006-07].Units6, [FY2006-07].Output6,
[FY2006-07].WPSInit7, [FY2006-07].OutputType7, [FY2006-07].Code7,
[FY2006-07].Units7, [FY2006-07].Output7, [FY2006-07].WPSInit8,
[FY2006-07].OutputType8, [FY2006-07].Code8, [FY2006-07].Units8,
[FY2006-07].Output8, [FY2006-07].Multiplier, [FY2006-07].Discount,
[FY2006-07].Specialist1, [FY2006-07].Start1, [FY2006-07].End1,
[FY2006-07].Specialist2, [FY2006-07].Start2, [FY2006-07].End2,
[FY2006-07].Specialist3, [FY2006-07].Start3, [FY2006-07].End3,
[FY2006-07].Specialist4, [FY2006-07].Start4, [FY2006-07].End4,
[FY2006-07].[Proofer 1], [FY2006-07].[Proofer Start 1], [FY2006-07].[Proofer
End 1], [FY2006-07].[Proofer 2], [FY2006-07].[Proofer Start 2],
[FY2006-07].[Proofer End 2], [FY2006-07].[Quality Check],
[FY2006-07].[Quality Check Start], [FY2006-07].[Quality Check End]
FROM Code1 INNER JOIN (OutputType1 INNER JOIN (Priority1 INNER JOIN
[FY2006-07] ON Priority1.Priority = [FY2006-07].Priority1) ON
OutputType1.OutputType = [FY2006-07].OutputType1) ON Code1.Code =
[FY2006-07].Code1;
Thanks for your help.