Sorry about that. I am just learning Access and having to kinda wing it . . .
SELECT dbo_Clients.Cltnum, dbo_Clients.Cltname,
dbo_ajs_Ag_FS_Section.FSSection, dbo_ajs_Ag_FS_Detail.FSDetailName,
dbo_ajs_Ag_FS_Data.FSYear, dbo_ajs_Ag_FS_Data.FSAmount,
dbo_ajs_Ag_NFS_Data.NFSYear, dbo_ajs_Ag_NFS_Data.[DCQtr12-31PY],
dbo_ajs_Ag_NFS_Data.[DCQtr3-31], dbo_ajs_Ag_NFS_Data.[DCQtr6-30],
dbo_ajs_Ag_NFS_Data.[DCQtr9-30], dbo_ajs_Ag_NFS_Data.[DCQtr12-31],
dbo_ajs_Ag_NFS_Data.[MCQtr12-31PY], dbo_ajs_Ag_NFS_Data.[MCQtr3-31],
dbo_ajs_Ag_NFS_Data.[MCQtr6-30], dbo_ajs_Ag_NFS_Data.[MCQtr9-30],
dbo_ajs_Ag_NFS_Data.[MCQtr12-31], dbo_ajs_Ag_NFS_Data.CWTMilk,
dbo_ajs_Ag_NFS_Data.OwnHrs, dbo_ajs_Ag_NFS_Data.EmpHrs,
dbo_ajs_Ag_NFS_Data.MlkPr
FROM (dbo_Clients INNER JOIN (dbo_ajs_Ag_FS_Section INNER JOIN
(dbo_ajs_Ag_FS_Data INNER JOIN dbo_ajs_Ag_FS_Detail ON
dbo_ajs_Ag_FS_Data.FSDetailID = dbo_ajs_Ag_FS_Detail.FSDetailID) ON
dbo_ajs_Ag_FS_Section.FSSectionID = dbo_ajs_Ag_FS_Detail.SectionID) ON
dbo_Clients.Cltnum = dbo_ajs_Ag_FS_Data.Cltnum) INNER JOIN
(dbo_ajs_Ag_NFS_MilkPrice INNER JOIN dbo_ajs_Ag_NFS_Data ON
dbo_ajs_Ag_NFS_MilkPrice.MilkPrice = dbo_ajs_Ag_NFS_Data.MlkPr) ON
dbo_Clients.Cltnum = dbo_ajs_Ag_NFS_Data.Cltnum;
KARL DEWEY said:
It would be a great help to us non-physic types it you posted the SQL of your
query. Open the query in design view, click on menu VIEW - SQL View,
highlight all, copy, and paste in a post.
--
KARL DEWEY
Build a little - Test a little
:
The query is based on two main tables. On table has two smaller tables that
are linked. The other table has just one table linked. I have the
relationships established and have inputed data in the tables. I cannot get
the query to run as I get the error message. I have tried searching the help
index and cannot get a grip on what to do here. I am sing Access 2000.