Kaup, Chester A
kaupca at chevrontexaco.com
Mon Jun 23 14:45:12 CDT 2003
When I try to run the attached SQL I get a message of invalid operation. This query basically sums together 6 queries that each sum up some daily data. Any thoughts as to why the error? SELECT Gomez_Fld.ACTVDATE, Gomez_Fld!SumOfVOLUME_SS+Halley_Emp!SumOfVOLUME_SS+Other_FortStockton!Su mOfVOLUME_SS+Puckettl_Fld!SumOfVOLUME_SS+Waha_Fld!SumOfVOLUME_SS+[Warwin k Fld]!SumOfVOLUME_SS AS [Total Gas] FROM ((((Gomez_Fld INNER JOIN Halley_Emp ON Gomez_Fld.ACTVDATE = Halley_Emp.ACTVDATE) I NNER JOIN Other_FortStockton ON Gomez_Fld.ACTVDATE = Other_FortStockton.ACTVDATE) INNER JOIN Waha_Fld ON Gomez_Fld.ACTVDATE = Waha_Fld.ACTVDATE) INNER JOIN [Warwink Fld] ON Gomez_Fld.ACTVDATE = [Warwink Fld].ACTVDATE) INNER JOIN Puckettl_Fld ON Gomez_Fld.ACTVDATE = Puckettl_Fld.ACTVDATE GROUP BY Gomez_Fld.ACTVDATE, Gomez_Fld!SumOfVOLUME_SS+Halley_Emp!SumOfVOLUME_SS+Other_FortStockton!Su mOfVOLUME_SS+Puckettl_Fld!SumOfVOLUME_SS+Waha_Fld!SumOfVOLUME_SS+[Warwin k Fld]!SumOfVOLUME_SS ORDER BY Gomez_Fld.ACTVDATE; No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://databaseadvisors.com/pipermail/accessd/attachments/20030623/de33b83b/attachment.html>