Yea, doesn't work Ryan. AFAIK you can't reference a column you just named in
another calculation. You'd have to either have a pre-query to give GLHS or
repeat the entire construction that gives GLHS, as in:<BR><BR><FONT
face="Courier New">SELECT [Student data 0203].[Stu ID],[Student data
0203].[GLHQ], Sum(IIf([Status] Like "S",[GLH],0)) AS GLHS, Sum(IIf([Status]
Like "S",[GLH],0)) + [GLHQ] AS GLHTotal</FONT><BR><BR>--<BR>Andy
Lacey<BR>http://www.minstersystems.co.uk<BR><BR><BR><BR>
<BLOCKQUOTE dir=ltr style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px;
MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">--------- Original Message --------<BR>From:
"Access Developers discussion and problem solving"
<accessd@databaseadvisors.com><BR>To: "AccessD@databaseadvisors.com"
<AccessD@databaseadvisors.com><BR>Subject: [AccessD] Pop-up's in
query<BR>Date: 15/09/03 15:21<BR><BR><FONT face="Courier New" size=2><BR>Hi
All,<BR><BR>I have a query which performs an equation on a column I
previously specified the name for. The problem is that everytime I run the
query, I am prompted with an input box requeting a parameter.<BR><BR>E.g.
below GLHS is the offender!<BR><BR>SELECT [Student data 0203].[Stu
ID],[Student data 0203].[GLHQ], Sum(IIf([Status] Like "S",[GLH],0)) AS GLHS,
[GLHS]+[GLHQ] AS GLHTotal<BR><BR>Will prompt me for the value of GLHS when I
run the query. How do I stop
that?<BR><BR>TIA<BR>RyanS<BR><BR><BR><BR><BR><BR>The information or opinions
in this message (including<BR>any attachments) are those of the author and
are not<BR>necessarily those of Uxbridge College, which
disclaims<BR>responsibility for loss or damage arising from its use
to<BR>the maximum extent permitted by law. E-mail messages<BR>sometimes go
astray. This message is sent in<BR>confidence for the addressee only. It may
contain<BR>confidential or sensitive information. The contents<BR>are not to
be disclosed to anyone other than the<BR>addressee. Unauthorised recipients
are requested to<BR>preserve this confidentiality and to advise the
originator.<BR>immediately and to delete the message without
copying,<BR>altering or disclosing its contents. E-mails to or
from<BR>Uxbridge College may be monitored by the College in<BR>accordance
with its current
policy.<BR><BR>_______________________________________________<BR>AccessD
mailing list<BR><A class=autolink
href="mailto:AccessD@databaseadvisors.com">AccessD@databaseadvisors.com</A><BR><A
class=autolink href="http://databaseadvisors.com/mailman/listinfo/accessd"
target=_blank>http://databaseadvisors.com/mailman/listinfo/accessd</A><BR>Website:
<A class=autolink href="http://www.databaseadvisors.com/"
target=_blank>http://www.databaseadvisors.com</A><BR><BR><BR><BR><BR><BR></FONT></DIV></BLOCKQUOTE><BR
/>
<BR />
________________________________________________<BR />
Message sent using UebiMiau 2.7.2<BR />