<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C33A2F.A0A66840">
<title>Invalid Operation - Query</title>
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple style='tab-interval:36.0pt'>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><!-- Converted from text/rtf format -->Hi<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>It may simply be too complex - I have
recently seen this error a couple of times when running queries based on other
queries - switching some or all of the queries from select statements to
make-tables and running the meta-query on the tables instead solved the
problem.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>HTH<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Roz<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Kaup, Chester A
[mailto:kaupca@chevrontexaco.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> 23 June 2003 20:45<br>
<b><span style='font-weight:bold'>To:</span></b> accessd@databaseadvisors.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> [AccessD] Invalid
Operation - Query</span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>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?</span></font><o:p></o:p></p>

<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>SELECT Gomez_Fld.ACTVDATE,
Gomez_Fld!SumOfVOLUME_SS+Halley_Emp!SumOfVOLUME_SS+Other_FortStockton!SumOfVOLUME_SS+Puckettl_Fld!SumOfVOLUME_SS+Waha_Fld!SumOfVOLUME_SS+[Warwink
Fld]!SumOfVOLUME_SS AS [Total Gas]</span></font><o:p></o:p></p>

<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>FROM ((((Gomez_Fld INNER JOIN Halley_Emp ON Gomez_Fld.ACTVDATE
= Halley_Emp.ACTVDATE) I</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>NNER
JOIN Other_FortStockton ON Gomez_Fld.ACTVDATE = Other_FortStockton.ACTVDATE) </span></font><br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>INNER
JOIN Waha_Fld ON Gomez_Fld.ACTVDATE = Waha_Fld.ACTVDATE)</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>INNER
JOIN [Warwink Fld] ON Gomez_Fld.ACTVDATE = [Warwink Fld].ACTVDATE) </span></font><br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>INNER
JOIN Puckettl_Fld ON Gomez_Fld.ACTVDATE = Puckettl_Fld.ACTVDATE</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>GROUP
BY Gomez_Fld.ACTVDATE,
Gomez_Fld!SumOfVOLUME_SS+Halley_Emp!SumOfVOLUME_SS+Other_FortStockton!SumOfVOLUME_SS+Puckettl_Fld!SumOfVOLUME_SS+Waha_Fld!SumOfVOLUME_SS+[Warwink
Fld]!SumOfVOLUME_SS</span></font><o:p></o:p></p>

<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>ORDER BY Gomez_Fld.ACTVDATE;</span></font> <o:p></o:p></p>

<p style='margin-left:36.0pt'><font size=1 face="Times New Roman"><span
style='font-size:7.5pt'>No trees were killed in the sending of this message.
However a large number of electrons were terribly inconvenienced.</span></font><o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p>

</div>

</body>

</html>