BAQ Calculated field issue

I think you're 'IF' statements need work, you are concerned with (2) different entities that can be True or False.

First 'if' evaluates Checkbox03 ,  but then 'else if' evaluates Checkbox04  ?

Don't you need to know the combined condition? Which one 'wins'?.

 



On Wednesday, July 8, 2015 1:21 PM, "Kimberley White faepigrl@... [vantage]" <vantage@yahoogroups.com> wrote:


 
<div id="ygrps-yiv-344384226yiv8595830084ygrp-text">
  
  
  <div></div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div><span>Epicor 9.05.702a.....never had issue before.&nbsp; I may just start over.</span></div><div><span></span>&nbsp;</div>  <br clear="none"><div class="ygrps-yiv-344384226yiv8595830084qtdSeparateBR"><br clear="none"><br clear="none"></div><div class="ygrps-yiv-344384226yiv8595830084yqt7237172215" id="ygrps-yiv-344384226yiv8595830084yqt71889"><div style="display:block;" class="ygrps-yiv-344384226yiv8595830084yahoo_quoted"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr"> <font face="Arial" size="2"> On Wednesday, July 8, 2015 12:34 PM, &quot;bruce.d.ordway@... [vantage]&quot; &lt;vantage@yahoogroups.com&gt; wrote:<br clear="none"> </font> </div>  <br clear="none"><br clear="none"> <div class="ygrps-yiv-344384226yiv8595830084y_msg_container"><div id="ygrps-yiv-344384226yiv8595830084"><div>

 

<div id="ygrps-yiv-344384226yiv8595830084ygrp-text">
>>I don't have the tables listed as summary.
>> I get the error when I change the DMRActn table to LAST.
Just wondering what version/database are you running?


The previous suggestion below worked on a test system; for both LAST or ALL DMRActn
>> IF (DMRHead.Checkoff3 = TRUE) THEN (“Internal”) ELSE (IF (DMRHead.Checkoff4 = TRUE) >> THEN (“Supplier”) ELSE (“”))

But I remember issues with BAQ designer existed in some versions of E9.

<div style="height:0px;color:rgb(255, 255, 255);"></div></div>


</div>
 


<div class="ygrps-yiv-344384226yiv8595830084yqt7237172215" id="ygrps-yiv-344384226yiv8595830084yqt59273"><div style="color:#fff;height:0;"></div></div>
#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084 -- #ygrps-yiv-344384226yiv8595830084ygrp-mkp { border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-mkp hr {
border:1px solid #d8d8d8;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-mkp #ygrps-yiv-344384226yiv8595830084hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-mkp #ygrps-yiv-344384226yiv8595830084ads {
margin-bottom:10px;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-mkp .ygrps-yiv-344384226yiv8595830084ad {
padding:0 0;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-mkp .ygrps-yiv-344384226yiv8595830084ad p {
margin:0;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-mkp .ygrps-yiv-344384226yiv8595830084ad a {
color:#0000ff;text-decoration:none;}
#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-sponsor #ygrps-yiv-344384226yiv8595830084ygrp-lc {
font-family:Arial;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-sponsor #ygrps-yiv-344384226yiv8595830084ygrp-lc #ygrps-yiv-344384226yiv8595830084hd {
margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-sponsor #ygrps-yiv-344384226yiv8595830084ygrp-lc .ygrps-yiv-344384226yiv8595830084ad {
margin-bottom:10px;padding:0 0;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084activity span {
font-weight:700;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084activity span:first-child {
text-transform:uppercase;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084activity span a {
color:#5085b6;text-decoration:none;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084activity span span {
color:#ff7900;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084activity span .ygrps-yiv-344384226yiv8595830084underline {
text-decoration:underline;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 .ygrps-yiv-344384226yiv8595830084attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 .ygrps-yiv-344384226yiv8595830084attach div a {
text-decoration:none;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 .ygrps-yiv-344384226yiv8595830084attach img {
border:none;padding-right:5px;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 .ygrps-yiv-344384226yiv8595830084attach label {
display:block;margin-bottom:5px;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 .ygrps-yiv-344384226yiv8595830084attach label a {
text-decoration:none;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 blockquote {
margin:0 0 0 4px;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 .ygrps-yiv-344384226yiv8595830084bold {
font-family:Arial;font-size:13px;font-weight:700;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 .ygrps-yiv-344384226yiv8595830084bold a {
text-decoration:none;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 dd.ygrps-yiv-344384226yiv8595830084last p a {
font-family:Verdana;font-weight:700;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 dd.ygrps-yiv-344384226yiv8595830084last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 dd.ygrps-yiv-344384226yiv8595830084last p span.ygrps-yiv-344384226yiv8595830084yshortcuts {
margin-right:0;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 div.ygrps-yiv-344384226yiv8595830084attach-table div div a {
text-decoration:none;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 div.ygrps-yiv-344384226yiv8595830084attach-table {
width:400px;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 div.ygrps-yiv-344384226yiv8595830084file-title a, #ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 div.ygrps-yiv-344384226yiv8595830084file-title a:active, #ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 div.ygrps-yiv-344384226yiv8595830084file-title a:hover, #ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 div.ygrps-yiv-344384226yiv8595830084file-title a:visited {
text-decoration:none;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 div.ygrps-yiv-344384226yiv8595830084photo-title a, #ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 div.ygrps-yiv-344384226yiv8595830084photo-title a:active, #ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 div.ygrps-yiv-344384226yiv8595830084photo-title a:hover, #ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 div.ygrps-yiv-344384226yiv8595830084photo-title a:visited {
text-decoration:none;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 div#ygrps-yiv-344384226yiv8595830084ygrp-mlmsg #ygrps-yiv-344384226yiv8595830084ygrp-msg p a span.ygrps-yiv-344384226yiv8595830084yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 .ygrps-yiv-344384226yiv8595830084green {
color:#628c2a;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 .ygrps-yiv-344384226yiv8595830084MsoNormal {
margin:0 0 0 0;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 o {
font-size:0;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084photos div {
float:left;width:72px;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084photos div div {
border:1px solid #666666;height:62px;overflow:hidden;width:62px;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084reco-category {
font-size:77%;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084reco-desc {
font-size:77%;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 .ygrps-yiv-344384226yiv8595830084replbq {
margin:4px;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-mlmsg table {
font-size:inherit;font:100%;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-mlmsg select, #ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 input, #ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-mlmsg pre, #ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 code {
font:115% monospace;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-mlmsg * {
line-height:1.22em;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-mlmsg #ygrps-yiv-344384226yiv8595830084logo {
padding-bottom:10px;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-msg p a {
font-family:Verdana;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-msg p#ygrps-yiv-344384226yiv8595830084attach-count span {
color:#1E66AE;font-weight:700;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-reco #ygrps-yiv-344384226yiv8595830084reco-head {
color:#ff7900;font-weight:700;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-reco {
margin-bottom:20px;padding:0px;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-sponsor #ygrps-yiv-344384226yiv8595830084ov li a {
font-size:130%;text-decoration:none;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-sponsor #ygrps-yiv-344384226yiv8595830084ov li {
font-size:77%;list-style-type:square;padding:6px 0;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-sponsor #ygrps-yiv-344384226yiv8595830084ov ul {
margin:0;padding:0 0 0 8px;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-text {
font-family:Georgia;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-text p {
margin:0 0 1em 0;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-text tt {
font-size:120%;}

#ygrps-yiv-344384226 #ygrps-yiv-344384226yiv8595830084 #ygrps-yiv-344384226yiv8595830084ygrp-vital ul li:last-child {
border-right:none !important;}
#ygrps-yiv-344384226



I a BAQ that is simple and I have created a couple calculated fields.  I am using  IF Then statement and stuck.....maybe I should be using something else...not sure.
 
If DMRHead.Checkoff3 = TRUE then 'Internal'
Else If DMRHead.Checkoff4 = TRUE then 'Supplier'
Else '' (Not sure what to put here)
Basically I want if Checkoff3 true to return Internal and if Checkoff4 True to return Suppler
 
The other one is similar; it is also going off Checkoff3 and Checkoff4.  I want t his one to leave the field blank if Checkoff3 true and if checkoff4 true I want to return a field from another table.
 
If DMRHead.CheckOff4 = TRUE then DMRActn.DocUnitCredit
Else if DMRHead.Checkoff3 = TRUE then '' Else ''
 
 
Just getting errors everywhere.
 
thanks Kim
 

Hi Kim,

 

Try one of these:

 

E9:

 

IF (DMRHead.Checkoff3 = TRUE) THEN (“Internal”) ELSE (IF (DMRHead.Checkoff4 = TRUE) THEN (“Supplier”) ELSE (“”))

 

E10:

 

case 

    when  (DMRHead.Checkoff3 = TRUE)  then ‘Internal’

    when  (DMRHead.Checkoff4 = TRUE)  then ‘Supplier’

    else ‘ ‘

end

 

Brenda

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Tuesday, July 07, 2015 9:12 AM
To: Vantage List
Subject: [Vantage] BAQ Calculated field issue

 

 

I a BAQ that is simple and I have created a couple calculated fields.  I am using  IF Then statement and stuck.....maybe I should be using something else...not sure.

 

If DMRHead.Checkoff3 = TRUE then 'Internal'
Else If DMRHead.Checkoff4 = TRUE then 'Supplier'
Else '' (Not sure what to put here)

Basically I want if Checkoff3 true to return Internal and if Checkoff4 True to return Suppler

 

The other one is similar; it is also going off Checkoff3 and Checkoff4.  I want t his one to leave the field blank if Checkoff3 true and if checkoff4 true I want to return a field from another table.

 

If DMRHead.CheckOff4 = TRUE then DMRActn.DocUnitCredit
Else if DMRHead.Checkoff3 = TRUE then '' Else ''

 

 

Just getting errors everywhere.

 

thanks Kim

 

Brenda,
I tried this....
If (DMRHead.Checkoff3 = TRUE) then ('Internal')
Else (If (DMRHead.Checkoff4 = TRUE) then ('Supplier')
Else (''))
 
When I check the syntax I get a message...."Possible erroneous query detected. No tables are marked summary while aggregate functions are used in calculated fields.
 
I am not sure why I need my table to be marked as summary.  I only have DMRHead and DMRActn tables in query.
 
thanks Kim



On Tuesday, July 7, 2015 9:59 AM, "brenda mohr brenda@... [vantage]" <vantage@yahoogroups.com> wrote:


 
<div id="ygrps-yiv-1617676106yiv8013258496ygrp-text">
  
  
  <div>
Hi Kim,
 
Try one of these:
 
E9:
 
IF (DMRHead.Checkoff3 = TRUE) THEN (“Internal”) ELSE (IF (DMRHead.Checkoff4 = TRUE) THEN (“Supplier”) ELSE (“”))
 
E10:
 
case 
    when  (DMRHead.Checkoff3 = TRUE)  then ‘Internal’
    when  (DMRHead.Checkoff4 = TRUE)  then ‘Supplier’
    else ‘ ‘
end
 
Brenda
 
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Tuesday, July 07, 2015 9:12 AM
To: Vantage List
Subject: [Vantage] BAQ Calculated field issue
 
 
I a BAQ that is simple and I have created a couple calculated fields.  I am using  IF Then statement and stuck.....maybe I should be using something else...not sure.
 
If DMRHead.Checkoff3 = TRUE then 'Internal'
Else If DMRHead.Checkoff4 = TRUE then 'Supplier'
Else '' (Not sure what to put here)
Basically I want if Checkoff3 true to return Internal and if Checkoff4 True to return Suppler
 
The other one is similar; it is also going off Checkoff3 and Checkoff4.  I want t his one to leave the field blank if Checkoff3 true and if checkoff4 true I want to return a field from another table.
 
If DMRHead.CheckOff4 = TRUE then DMRActn.DocUnitCredit
Else if DMRHead.Checkoff3 = TRUE then '' Else ''
 
 
Just getting errors everywhere.
 
thanks Kim
 
</div>
 


<div class="ygrps-yiv-1617676106yiv8013258496yqt0525447552" id="ygrps-yiv-1617676106yiv8013258496yqt14216"><div style="height:0px;color:rgb(255, 255, 255);"></div></div>
#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496 -- #ygrps-yiv-1617676106yiv8013258496ygrp-mkp { border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-mkp hr {
border:1px solid #d8d8d8;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-mkp #ygrps-yiv-1617676106yiv8013258496hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-mkp #ygrps-yiv-1617676106yiv8013258496ads {
margin-bottom:10px;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-mkp .ygrps-yiv-1617676106yiv8013258496ad {
padding:0 0;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-mkp .ygrps-yiv-1617676106yiv8013258496ad p {
margin:0;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-mkp .ygrps-yiv-1617676106yiv8013258496ad a {
color:#0000ff;text-decoration:none;}
#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-sponsor #ygrps-yiv-1617676106yiv8013258496ygrp-lc {
font-family:Arial;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-sponsor #ygrps-yiv-1617676106yiv8013258496ygrp-lc #ygrps-yiv-1617676106yiv8013258496hd {
margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-sponsor #ygrps-yiv-1617676106yiv8013258496ygrp-lc .ygrps-yiv-1617676106yiv8013258496ad {
margin-bottom:10px;padding:0 0;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496activity span {
font-weight:700;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496activity span:first-child {
text-transform:uppercase;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496activity span a {
color:#5085b6;text-decoration:none;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496activity span span {
color:#ff7900;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496activity span .ygrps-yiv-1617676106yiv8013258496underline {
text-decoration:underline;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 .ygrps-yiv-1617676106yiv8013258496attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 .ygrps-yiv-1617676106yiv8013258496attach div a {
text-decoration:none;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 .ygrps-yiv-1617676106yiv8013258496attach img {
border:none;padding-right:5px;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 .ygrps-yiv-1617676106yiv8013258496attach label {
display:block;margin-bottom:5px;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 .ygrps-yiv-1617676106yiv8013258496attach label a {
text-decoration:none;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 blockquote {
margin:0 0 0 4px;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 .ygrps-yiv-1617676106yiv8013258496bold {
font-family:Arial;font-size:13px;font-weight:700;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 .ygrps-yiv-1617676106yiv8013258496bold a {
text-decoration:none;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 dd.ygrps-yiv-1617676106yiv8013258496last p a {
font-family:Verdana;font-weight:700;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 dd.ygrps-yiv-1617676106yiv8013258496last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 dd.ygrps-yiv-1617676106yiv8013258496last p span.ygrps-yiv-1617676106yiv8013258496yshortcuts {
margin-right:0;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 div.ygrps-yiv-1617676106yiv8013258496attach-table div div a {
text-decoration:none;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 div.ygrps-yiv-1617676106yiv8013258496attach-table {
width:400px;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 div.ygrps-yiv-1617676106yiv8013258496file-title a, #ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 div.ygrps-yiv-1617676106yiv8013258496file-title a:active, #ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 div.ygrps-yiv-1617676106yiv8013258496file-title a:hover, #ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 div.ygrps-yiv-1617676106yiv8013258496file-title a:visited {
text-decoration:none;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 div.ygrps-yiv-1617676106yiv8013258496photo-title a, #ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 div.ygrps-yiv-1617676106yiv8013258496photo-title a:active, #ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 div.ygrps-yiv-1617676106yiv8013258496photo-title a:hover, #ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 div.ygrps-yiv-1617676106yiv8013258496photo-title a:visited {
text-decoration:none;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 div#ygrps-yiv-1617676106yiv8013258496ygrp-mlmsg #ygrps-yiv-1617676106yiv8013258496ygrp-msg p a span.ygrps-yiv-1617676106yiv8013258496yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 .ygrps-yiv-1617676106yiv8013258496green {
color:#628c2a;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 .ygrps-yiv-1617676106yiv8013258496MsoNormal {
margin:0 0 0 0;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 o {
font-size:0;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496photos div {
float:left;width:72px;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496photos div div {
border:1px solid #666666;height:62px;overflow:hidden;width:62px;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496reco-category {
font-size:77%;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496reco-desc {
font-size:77%;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 .ygrps-yiv-1617676106yiv8013258496replbq {
margin:4px;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-mlmsg table {
font-size:inherit;font:100%;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-mlmsg select, #ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 input, #ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-mlmsg pre, #ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 code {
font:115% monospace;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-mlmsg * {
line-height:1.22em;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-mlmsg #ygrps-yiv-1617676106yiv8013258496logo {
padding-bottom:10px;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-msg p a {
font-family:Verdana;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-msg p#ygrps-yiv-1617676106yiv8013258496attach-count span {
color:#1E66AE;font-weight:700;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-reco #ygrps-yiv-1617676106yiv8013258496reco-head {
color:#ff7900;font-weight:700;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-reco {
margin-bottom:20px;padding:0px;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-sponsor #ygrps-yiv-1617676106yiv8013258496ov li a {
font-size:130%;text-decoration:none;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-sponsor #ygrps-yiv-1617676106yiv8013258496ov li {
font-size:77%;list-style-type:square;padding:6px 0;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-sponsor #ygrps-yiv-1617676106yiv8013258496ov ul {
margin:0;padding:0 0 0 8px;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-text {
font-family:Georgia;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-text p {
margin:0 0 1em 0;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-text tt {
font-size:120%;}

#ygrps-yiv-1617676106 #ygrps-yiv-1617676106yiv8013258496 #ygrps-yiv-1617676106yiv8013258496ygrp-vital ul li:last-child {
border-right:none !important;}
#ygrps-yiv-1617676106



I've gotten that error whenever I remove all the summary tables from a query, even after I remove the aggregate functions.  Usually closing the calculated field window and reopening it causes the error to go away.  If you are using aggregate functions, those can only be run on summary tables.



On Tuesday, July 7, 2015 10:19 AM, "Kimberley White faepigrl@... [vantage]" <vantage@yahoogroups.com> wrote:


 
<div id="ygrps-yiv-1714578836yiv0148069947ygrp-text">
  
  
  <div></div><div style="color:rgb(0, 0, 0);font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;background-color:rgb(255, 255, 255);"><div id="ygrps-yiv-1714578836yiv0148069947yui_3_16_0_1_1436271829373_68762"><span>Brenda,</span></div><div id="ygrps-yiv-1714578836yiv0148069947yui_3_16_0_1_1436271829373_67415"><span id="ygrps-yiv-1714578836yiv0148069947yui_3_16_0_1_1436271829373_67414">I tried this....</span></div><div id="ygrps-yiv-1714578836yiv0148069947yui_3_16_0_1_1436271829373_68763" dir="ltr"><span id="ygrps-yiv-1714578836yiv0148069947yui_3_16_0_1_1436271829373_69302">If (DMRHead.Checkoff3 = TRUE) then (&#39;Internal&#39;)<br clear="none">Else (If (DMRHead.Checkoff4 = TRUE) then (&#39;Supplier&#39;)<br clear="none">Else (&#39;&#39;))</span></div><div id="ygrps-yiv-1714578836yiv0148069947yui_3_16_0_1_1436271829373_67945" dir="ltr"><span></span>&nbsp;</div><div id="ygrps-yiv-1714578836yiv0148069947yui_3_16_0_1_1436271829373_67943" dir="ltr"><span id="ygrps-yiv-1714578836yiv0148069947yui_3_16_0_1_1436271829373_67946">When I check the syntax I get a message....&quot;Possible erroneous query detected. No tables are marked summary while aggregate functions are used in calculated fields.</span></div><div id="ygrps-yiv-1714578836yiv0148069947yui_3_16_0_1_1436271829373_68761" dir="ltr"><span></span>&nbsp;</div><div id="ygrps-yiv-1714578836yiv0148069947yui_3_16_0_1_1436271829373_68758" dir="ltr"><span id="ygrps-yiv-1714578836yiv0148069947yui_3_16_0_1_1436271829373_68759">I am not sure why I need my table to be marked as summary.&nbsp; I only have DMRHead and DMRActn tables in query.</span></div><div id="ygrps-yiv-1714578836yiv0148069947yui_3_16_0_1_1436271829373_68760" dir="ltr"><span></span>&nbsp;</div><div id="ygrps-yiv-1714578836yiv0148069947yui_3_16_0_1_1436271829373_69304" dir="ltr"><span id="ygrps-yiv-1714578836yiv0148069947yui_3_16_0_1_1436271829373_69303">thanks Kim</span></div>  <br clear="none"><div class="ygrps-yiv-1714578836yiv0148069947qtdSeparateBR"><br clear="none"><br clear="none"></div><div class="ygrps-yiv-1714578836yiv0148069947yqt1879623862" id="ygrps-yiv-1714578836yiv0148069947yqt20976"><div class="ygrps-yiv-1714578836yiv0148069947yahoo_quoted" style="display:block;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr"> <font face="Arial" size="2"> On Tuesday, July 7, 2015 9:59 AM, &quot;brenda mohr brenda@... [vantage]&quot; &lt;vantage@yahoogroups.com&gt; wrote:<br clear="none"> </font> </div>  <br clear="none"><br clear="none"> <div class="ygrps-yiv-1714578836yiv0148069947y_msg_container"><div id="ygrps-yiv-1714578836yiv0148069947"><div>

 

<div id="ygrps-yiv-1714578836yiv0148069947ygrp-text">
  
  
  <div>
Hi Kim,
 
Try one of these:
 
E9:
 
IF (DMRHead.Checkoff3 = TRUE) THEN (“Internal”) ELSE (IF (DMRHead.Checkoff4 = TRUE) THEN (“Supplier”) ELSE (“”))
 
E10:
 
case 
    when  (DMRHead.Checkoff3 = TRUE)  then ‘Internal’
    when  (DMRHead.Checkoff4 = TRUE)  then ‘Supplier’
    else ‘ ‘
end
 
Brenda
 
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Tuesday, July 07, 2015 9:12 AM
To: Vantage List
Subject: [Vantage] BAQ Calculated field issue
 
 
I a BAQ that is simple and I have created a couple calculated fields.  I am using  IF Then statement and stuck.....maybe I should be using something else...not sure.
 
If DMRHead.Checkoff3 = TRUE then 'Internal'
Else If DMRHead.Checkoff4 = TRUE then 'Supplier'
Else '' (Not sure what to put here)
Basically I want if Checkoff3 true to return Internal and if Checkoff4 True to return Suppler
 
The other one is similar; it is also going off Checkoff3 and Checkoff4.  I want t his one to leave the field blank if Checkoff3 true and if checkoff4 true I want to return a field from another table.
 
If DMRHead.CheckOff4 = TRUE then DMRActn.DocUnitCredit
Else if DMRHead.Checkoff3 = TRUE then '' Else ''
 
 
Just getting errors everywhere.
 
thanks Kim
 
</div>
 


<div class="ygrps-yiv-1714578836yiv0148069947yqt0525447552" id="ygrps-yiv-1714578836yiv0148069947yqt14216"><div style="height:0px;color:rgb(255, 255, 255);"></div></div>


</div>
 


<div class="ygrps-yiv-1714578836yiv0148069947yqt1879623862" id="ygrps-yiv-1714578836yiv0148069947yqt96685"><div style="height:0px;color:rgb(255, 255, 255);"></div></div>
#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947 -- #ygrps-yiv-1714578836yiv0148069947ygrp-mkp { border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-mkp hr {
border:1px solid #d8d8d8;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-mkp #ygrps-yiv-1714578836yiv0148069947hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-mkp #ygrps-yiv-1714578836yiv0148069947ads {
margin-bottom:10px;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-mkp .ygrps-yiv-1714578836yiv0148069947ad {
padding:0 0;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-mkp .ygrps-yiv-1714578836yiv0148069947ad p {
margin:0;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-mkp .ygrps-yiv-1714578836yiv0148069947ad a {
color:#0000ff;text-decoration:none;}
#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-sponsor #ygrps-yiv-1714578836yiv0148069947ygrp-lc {
font-family:Arial;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-sponsor #ygrps-yiv-1714578836yiv0148069947ygrp-lc #ygrps-yiv-1714578836yiv0148069947hd {
margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-sponsor #ygrps-yiv-1714578836yiv0148069947ygrp-lc .ygrps-yiv-1714578836yiv0148069947ad {
margin-bottom:10px;padding:0 0;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947activity span {
font-weight:700;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947activity span:first-child {
text-transform:uppercase;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947activity span a {
color:#5085b6;text-decoration:none;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947activity span span {
color:#ff7900;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947activity span .ygrps-yiv-1714578836yiv0148069947underline {
text-decoration:underline;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 .ygrps-yiv-1714578836yiv0148069947attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 .ygrps-yiv-1714578836yiv0148069947attach div a {
text-decoration:none;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 .ygrps-yiv-1714578836yiv0148069947attach img {
border:none;padding-right:5px;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 .ygrps-yiv-1714578836yiv0148069947attach label {
display:block;margin-bottom:5px;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 .ygrps-yiv-1714578836yiv0148069947attach label a {
text-decoration:none;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 blockquote {
margin:0 0 0 4px;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 .ygrps-yiv-1714578836yiv0148069947bold {
font-family:Arial;font-size:13px;font-weight:700;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 .ygrps-yiv-1714578836yiv0148069947bold a {
text-decoration:none;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 dd.ygrps-yiv-1714578836yiv0148069947last p a {
font-family:Verdana;font-weight:700;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 dd.ygrps-yiv-1714578836yiv0148069947last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 dd.ygrps-yiv-1714578836yiv0148069947last p span.ygrps-yiv-1714578836yiv0148069947yshortcuts {
margin-right:0;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 div.ygrps-yiv-1714578836yiv0148069947attach-table div div a {
text-decoration:none;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 div.ygrps-yiv-1714578836yiv0148069947attach-table {
width:400px;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 div.ygrps-yiv-1714578836yiv0148069947file-title a, #ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 div.ygrps-yiv-1714578836yiv0148069947file-title a:active, #ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 div.ygrps-yiv-1714578836yiv0148069947file-title a:hover, #ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 div.ygrps-yiv-1714578836yiv0148069947file-title a:visited {
text-decoration:none;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 div.ygrps-yiv-1714578836yiv0148069947photo-title a, #ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 div.ygrps-yiv-1714578836yiv0148069947photo-title a:active, #ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 div.ygrps-yiv-1714578836yiv0148069947photo-title a:hover, #ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 div.ygrps-yiv-1714578836yiv0148069947photo-title a:visited {
text-decoration:none;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 div#ygrps-yiv-1714578836yiv0148069947ygrp-mlmsg #ygrps-yiv-1714578836yiv0148069947ygrp-msg p a span.ygrps-yiv-1714578836yiv0148069947yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 .ygrps-yiv-1714578836yiv0148069947green {
color:#628c2a;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 .ygrps-yiv-1714578836yiv0148069947MsoNormal {
margin:0 0 0 0;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 o {
font-size:0;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947photos div {
float:left;width:72px;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947photos div div {
border:1px solid #666666;height:62px;overflow:hidden;width:62px;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947reco-category {
font-size:77%;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947reco-desc {
font-size:77%;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 .ygrps-yiv-1714578836yiv0148069947replbq {
margin:4px;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-mlmsg table {
font-size:inherit;font:100%;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-mlmsg select, #ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 input, #ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-mlmsg pre, #ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 code {
font:115% monospace;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-mlmsg * {
line-height:1.22em;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-mlmsg #ygrps-yiv-1714578836yiv0148069947logo {
padding-bottom:10px;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-msg p a {
font-family:Verdana;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-msg p#ygrps-yiv-1714578836yiv0148069947attach-count span {
color:#1E66AE;font-weight:700;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-reco #ygrps-yiv-1714578836yiv0148069947reco-head {
color:#ff7900;font-weight:700;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-reco {
margin-bottom:20px;padding:0px;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-sponsor #ygrps-yiv-1714578836yiv0148069947ov li a {
font-size:130%;text-decoration:none;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-sponsor #ygrps-yiv-1714578836yiv0148069947ov li {
font-size:77%;list-style-type:square;padding:6px 0;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-sponsor #ygrps-yiv-1714578836yiv0148069947ov ul {
margin:0;padding:0 0 0 8px;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-text {
font-family:Georgia;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-text p {
margin:0 0 1em 0;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-text tt {
font-size:120%;}

#ygrps-yiv-1714578836 #ygrps-yiv-1714578836yiv0148069947 #ygrps-yiv-1714578836yiv0148069947ygrp-vital ul li:last-child {
border-right:none !important;}
#ygrps-yiv-1714578836



Ian,
I don't have the tables listed as summary.  I get the error when I change the DMRActn table to LAST.
 



On Tuesday, July 7, 2015 4:51 PM, "Ian Fite ianfite@... [vantage]" <vantage@yahoogroups.com> wrote:


 
<div id="ygrps-yiv-300633457yiv7841300593ygrp-text">
  
  
  <div></div><div style="color:rgb(0, 0, 0);font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;background-color:rgb(255, 255, 255);"><div dir="ltr"><span>I&#39;ve gotten that error whenever I remove all the summary tables from a query, even after I remove the aggregate functions.&nbsp; Usually closing the calculated field window and reopening it causes the error to go away.&nbsp; If you are using aggregate functions, those can only be run on summary tables.</span></div>  <br clear="none"><div class="ygrps-yiv-300633457yiv7841300593qtdSeparateBR"><br clear="none"><br clear="none"></div><div class="ygrps-yiv-300633457yiv7841300593yqt6639647305" id="ygrps-yiv-300633457yiv7841300593yqt34045"><div class="ygrps-yiv-300633457yiv7841300593yahoo_quoted" style="display:block;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr"> <font face="Arial" size="2"> On Tuesday, July 7, 2015 10:19 AM, &quot;Kimberley White faepigrl@... [vantage]&quot; &lt;vantage@yahoogroups.com&gt; wrote:<br clear="none"> </font> </div>  <br clear="none"><br clear="none"> <div class="ygrps-yiv-300633457yiv7841300593y_msg_container"><div id="ygrps-yiv-300633457yiv7841300593"><div>

 

<div id="ygrps-yiv-300633457yiv7841300593ygrp-text">
  
  
  <div></div><div style="color:rgb(0, 0, 0);font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;background-color:rgb(255, 255, 255);"><div id="ygrps-yiv-300633457yiv7841300593yui_3_16_0_1_1436271829373_68762"><span>Brenda,</span></div><div id="ygrps-yiv-300633457yiv7841300593yui_3_16_0_1_1436271829373_67415"><span id="ygrps-yiv-300633457yiv7841300593yui_3_16_0_1_1436271829373_67414">I tried this....</span></div><div id="ygrps-yiv-300633457yiv7841300593yui_3_16_0_1_1436271829373_68763" dir="ltr"><span id="ygrps-yiv-300633457yiv7841300593yui_3_16_0_1_1436271829373_69302">If (DMRHead.Checkoff3 = TRUE) then (&#39;Internal&#39;)<br clear="none">Else (If (DMRHead.Checkoff4 = TRUE) then (&#39;Supplier&#39;)<br clear="none">Else (&#39;&#39;))</span></div><div id="ygrps-yiv-300633457yiv7841300593yui_3_16_0_1_1436271829373_67945" dir="ltr"><span></span>&nbsp;</div><div id="ygrps-yiv-300633457yiv7841300593yui_3_16_0_1_1436271829373_67943" dir="ltr"><span id="ygrps-yiv-300633457yiv7841300593yui_3_16_0_1_1436271829373_67946">When I check the syntax I get a message....&quot;Possible erroneous query detected. No tables are marked summary while aggregate functions are used in calculated fields.</span></div><div id="ygrps-yiv-300633457yiv7841300593yui_3_16_0_1_1436271829373_68761" dir="ltr"><span></span>&nbsp;</div><div id="ygrps-yiv-300633457yiv7841300593yui_3_16_0_1_1436271829373_68758" dir="ltr"><span id="ygrps-yiv-300633457yiv7841300593yui_3_16_0_1_1436271829373_68759">I am not sure why I need my table to be marked as summary.&nbsp; I only have DMRHead and DMRActn tables in query.</span></div><div id="ygrps-yiv-300633457yiv7841300593yui_3_16_0_1_1436271829373_68760" dir="ltr"><span></span>&nbsp;</div><div id="ygrps-yiv-300633457yiv7841300593yui_3_16_0_1_1436271829373_69304" dir="ltr"><span id="ygrps-yiv-300633457yiv7841300593yui_3_16_0_1_1436271829373_69303">thanks Kim</span></div>  <br clear="none"><div class="ygrps-yiv-300633457yiv7841300593qtdSeparateBR"><br clear="none"><br clear="none"></div><div class="ygrps-yiv-300633457yiv7841300593yqt1879623862" id="ygrps-yiv-300633457yiv7841300593yqt20976"><div class="ygrps-yiv-300633457yiv7841300593yahoo_quoted"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr"> <font face="Arial" size="2"> On Tuesday, July 7, 2015 9:59 AM, &quot;brenda mohr brenda@... [vantage]&quot; &lt;vantage@yahoogroups.com&gt; wrote:<br clear="none"> </font> </div>  <br clear="none"><br clear="none"> <div class="ygrps-yiv-300633457yiv7841300593y_msg_container"><div id="ygrps-yiv-300633457yiv7841300593"><div>

 

<div id="ygrps-yiv-300633457yiv7841300593ygrp-text">
  
  
  <div>
Hi Kim,
 
Try one of these:
 
E9:
 
IF (DMRHead.Checkoff3 = TRUE) THEN (“Internal”) ELSE (IF (DMRHead.Checkoff4 = TRUE) THEN (“Supplier”) ELSE (“”))
 
E10:
 
case 
    when  (DMRHead.Checkoff3 = TRUE)  then ‘Internal’
    when  (DMRHead.Checkoff4 = TRUE)  then ‘Supplier’
    else ‘ ‘
end
 
Brenda
 
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Tuesday, July 07, 2015 9:12 AM
To: Vantage List
Subject: [Vantage] BAQ Calculated field issue
 
 
I a BAQ that is simple and I have created a couple calculated fields.  I am using  IF Then statement and stuck.....maybe I should be using something else...not sure.
 
If DMRHead.Checkoff3 = TRUE then 'Internal'
Else If DMRHead.Checkoff4 = TRUE then 'Supplier'
Else '' (Not sure what to put here)
Basically I want if Checkoff3 true to return Internal and if Checkoff4 True to return Suppler
 
The other one is similar; it is also going off Checkoff3 and Checkoff4.  I want t his one to leave the field blank if Checkoff3 true and if checkoff4 true I want to return a field from another table.
 
If DMRHead.CheckOff4 = TRUE then DMRActn.DocUnitCredit
Else if DMRHead.Checkoff3 = TRUE then '' Else ''
 
 
Just getting errors everywhere.
 
thanks Kim
 
</div>
 


<div class="ygrps-yiv-300633457yiv7841300593yqt0525447552" id="ygrps-yiv-300633457yiv7841300593yqt14216"><div style="height:0px;color:rgb(255, 255, 255);"></div></div>


</div>
 


<div class="ygrps-yiv-300633457yiv7841300593yqt1879623862" id="ygrps-yiv-300633457yiv7841300593yqt96685"><div style="height:0px;color:rgb(255, 255, 255);"></div></div>


</div>
 


<div class="ygrps-yiv-300633457yiv7841300593yqt6639647305" id="ygrps-yiv-300633457yiv7841300593yqt56753"><div style="height:0px;color:rgb(255, 255, 255);"></div></div>
#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593 -- #ygrps-yiv-300633457yiv7841300593ygrp-mkp { border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-mkp hr {
border:1px solid #d8d8d8;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-mkp #ygrps-yiv-300633457yiv7841300593hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-mkp #ygrps-yiv-300633457yiv7841300593ads {
margin-bottom:10px;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-mkp .ygrps-yiv-300633457yiv7841300593ad {
padding:0 0;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-mkp .ygrps-yiv-300633457yiv7841300593ad p {
margin:0;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-mkp .ygrps-yiv-300633457yiv7841300593ad a {
color:#0000ff;text-decoration:none;}
#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-sponsor #ygrps-yiv-300633457yiv7841300593ygrp-lc {
font-family:Arial;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-sponsor #ygrps-yiv-300633457yiv7841300593ygrp-lc #ygrps-yiv-300633457yiv7841300593hd {
margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-sponsor #ygrps-yiv-300633457yiv7841300593ygrp-lc .ygrps-yiv-300633457yiv7841300593ad {
margin-bottom:10px;padding:0 0;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593activity span {
font-weight:700;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593activity span:first-child {
text-transform:uppercase;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593activity span a {
color:#5085b6;text-decoration:none;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593activity span span {
color:#ff7900;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593activity span .ygrps-yiv-300633457yiv7841300593underline {
text-decoration:underline;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 .ygrps-yiv-300633457yiv7841300593attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 .ygrps-yiv-300633457yiv7841300593attach div a {
text-decoration:none;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 .ygrps-yiv-300633457yiv7841300593attach img {
border:none;padding-right:5px;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 .ygrps-yiv-300633457yiv7841300593attach label {
display:block;margin-bottom:5px;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 .ygrps-yiv-300633457yiv7841300593attach label a {
text-decoration:none;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 blockquote {
margin:0 0 0 4px;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 .ygrps-yiv-300633457yiv7841300593bold {
font-family:Arial;font-size:13px;font-weight:700;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 .ygrps-yiv-300633457yiv7841300593bold a {
text-decoration:none;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 dd.ygrps-yiv-300633457yiv7841300593last p a {
font-family:Verdana;font-weight:700;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 dd.ygrps-yiv-300633457yiv7841300593last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 dd.ygrps-yiv-300633457yiv7841300593last p span.ygrps-yiv-300633457yiv7841300593yshortcuts {
margin-right:0;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 div.ygrps-yiv-300633457yiv7841300593attach-table div div a {
text-decoration:none;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 div.ygrps-yiv-300633457yiv7841300593attach-table {
width:400px;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 div.ygrps-yiv-300633457yiv7841300593file-title a, #ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 div.ygrps-yiv-300633457yiv7841300593file-title a:active, #ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 div.ygrps-yiv-300633457yiv7841300593file-title a:hover, #ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 div.ygrps-yiv-300633457yiv7841300593file-title a:visited {
text-decoration:none;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 div.ygrps-yiv-300633457yiv7841300593photo-title a, #ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 div.ygrps-yiv-300633457yiv7841300593photo-title a:active, #ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 div.ygrps-yiv-300633457yiv7841300593photo-title a:hover, #ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 div.ygrps-yiv-300633457yiv7841300593photo-title a:visited {
text-decoration:none;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 div#ygrps-yiv-300633457yiv7841300593ygrp-mlmsg #ygrps-yiv-300633457yiv7841300593ygrp-msg p a span.ygrps-yiv-300633457yiv7841300593yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 .ygrps-yiv-300633457yiv7841300593green {
color:#628c2a;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 .ygrps-yiv-300633457yiv7841300593MsoNormal {
margin:0 0 0 0;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 o {
font-size:0;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593photos div {
float:left;width:72px;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593photos div div {
border:1px solid #666666;height:62px;overflow:hidden;width:62px;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593reco-category {
font-size:77%;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593reco-desc {
font-size:77%;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 .ygrps-yiv-300633457yiv7841300593replbq {
margin:4px;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-mlmsg table {
font-size:inherit;font:100%;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-mlmsg select, #ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 input, #ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-mlmsg pre, #ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 code {
font:115% monospace;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-mlmsg * {
line-height:1.22em;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-mlmsg #ygrps-yiv-300633457yiv7841300593logo {
padding-bottom:10px;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-msg p a {
font-family:Verdana;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-msg p#ygrps-yiv-300633457yiv7841300593attach-count span {
color:#1E66AE;font-weight:700;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-reco #ygrps-yiv-300633457yiv7841300593reco-head {
color:#ff7900;font-weight:700;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-reco {
margin-bottom:20px;padding:0px;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-sponsor #ygrps-yiv-300633457yiv7841300593ov li a {
font-size:130%;text-decoration:none;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-sponsor #ygrps-yiv-300633457yiv7841300593ov li {
font-size:77%;list-style-type:square;padding:6px 0;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-sponsor #ygrps-yiv-300633457yiv7841300593ov ul {
margin:0;padding:0 0 0 8px;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-text {
font-family:Georgia;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-text p {
margin:0 0 1em 0;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-text tt {
font-size:120%;}

#ygrps-yiv-300633457 #ygrps-yiv-300633457yiv7841300593 #ygrps-yiv-300633457yiv7841300593ygrp-vital ul li:last-child {
border-right:none !important;}
#ygrps-yiv-300633457



>>I don't have the tables listed as summary.
>> I get the error when I change the DMRActn table to LAST.
Just wondering what version/database are you running?


The previous suggestion below worked on a test system; for both LAST or ALL DMRActn
>> IF (DMRHead.Checkoff3 = TRUE) THEN (“Internal”) ELSE (IF (DMRHead.Checkoff4 = TRUE) >> THEN (“Supplier”) ELSE (“”))

But I remember issues with BAQ designer existed in some versions of E9.
Epicor 9.05.702a.....never had issue before.  I may just start over.
 



On Wednesday, July 8, 2015 12:34 PM, "bruce.d.ordway@... [vantage]" <vantage@yahoogroups.com> wrote:


 
<div id="ygrps-yiv-1277627367yiv4165362727ygrp-text">
>>I don't have the tables listed as summary.
>> I get the error when I change the DMRActn table to LAST.
Just wondering what version/database are you running?


The previous suggestion below worked on a test system; for both LAST or ALL DMRActn
>> IF (DMRHead.Checkoff3 = TRUE) THEN (“Internal”) ELSE (IF (DMRHead.Checkoff4 = TRUE) >> THEN (“Supplier”) ELSE (“”))

But I remember issues with BAQ designer existed in some versions of E9.

<div style="height:0px;color:rgb(255, 255, 255);"></div></div>
#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727 -- #ygrps-yiv-1277627367yiv4165362727ygrp-mkp { border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-mkp hr {
border:1px solid #d8d8d8;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-mkp #ygrps-yiv-1277627367yiv4165362727hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-mkp #ygrps-yiv-1277627367yiv4165362727ads {
margin-bottom:10px;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-mkp .ygrps-yiv-1277627367yiv4165362727ad {
padding:0 0;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-mkp .ygrps-yiv-1277627367yiv4165362727ad p {
margin:0;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-mkp .ygrps-yiv-1277627367yiv4165362727ad a {
color:#0000ff;text-decoration:none;}
#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-sponsor #ygrps-yiv-1277627367yiv4165362727ygrp-lc {
font-family:Arial;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-sponsor #ygrps-yiv-1277627367yiv4165362727ygrp-lc #ygrps-yiv-1277627367yiv4165362727hd {
margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-sponsor #ygrps-yiv-1277627367yiv4165362727ygrp-lc .ygrps-yiv-1277627367yiv4165362727ad {
margin-bottom:10px;padding:0 0;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727activity span {
font-weight:700;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727activity span:first-child {
text-transform:uppercase;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727activity span a {
color:#5085b6;text-decoration:none;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727activity span span {
color:#ff7900;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727activity span .ygrps-yiv-1277627367yiv4165362727underline {
text-decoration:underline;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 .ygrps-yiv-1277627367yiv4165362727attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 .ygrps-yiv-1277627367yiv4165362727attach div a {
text-decoration:none;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 .ygrps-yiv-1277627367yiv4165362727attach img {
border:none;padding-right:5px;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 .ygrps-yiv-1277627367yiv4165362727attach label {
display:block;margin-bottom:5px;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 .ygrps-yiv-1277627367yiv4165362727attach label a {
text-decoration:none;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 blockquote {
margin:0 0 0 4px;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 .ygrps-yiv-1277627367yiv4165362727bold {
font-family:Arial;font-size:13px;font-weight:700;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 .ygrps-yiv-1277627367yiv4165362727bold a {
text-decoration:none;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 dd.ygrps-yiv-1277627367yiv4165362727last p a {
font-family:Verdana;font-weight:700;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 dd.ygrps-yiv-1277627367yiv4165362727last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 dd.ygrps-yiv-1277627367yiv4165362727last p span.ygrps-yiv-1277627367yiv4165362727yshortcuts {
margin-right:0;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 div.ygrps-yiv-1277627367yiv4165362727attach-table div div a {
text-decoration:none;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 div.ygrps-yiv-1277627367yiv4165362727attach-table {
width:400px;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 div.ygrps-yiv-1277627367yiv4165362727file-title a, #ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 div.ygrps-yiv-1277627367yiv4165362727file-title a:active, #ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 div.ygrps-yiv-1277627367yiv4165362727file-title a:hover, #ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 div.ygrps-yiv-1277627367yiv4165362727file-title a:visited {
text-decoration:none;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 div.ygrps-yiv-1277627367yiv4165362727photo-title a, #ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 div.ygrps-yiv-1277627367yiv4165362727photo-title a:active, #ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 div.ygrps-yiv-1277627367yiv4165362727photo-title a:hover, #ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 div.ygrps-yiv-1277627367yiv4165362727photo-title a:visited {
text-decoration:none;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 div#ygrps-yiv-1277627367yiv4165362727ygrp-mlmsg #ygrps-yiv-1277627367yiv4165362727ygrp-msg p a span.ygrps-yiv-1277627367yiv4165362727yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 .ygrps-yiv-1277627367yiv4165362727green {
color:#628c2a;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 .ygrps-yiv-1277627367yiv4165362727MsoNormal {
margin:0 0 0 0;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 o {
font-size:0;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727photos div {
float:left;width:72px;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727photos div div {
border:1px solid #666666;height:62px;overflow:hidden;width:62px;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727reco-category {
font-size:77%;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727reco-desc {
font-size:77%;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 .ygrps-yiv-1277627367yiv4165362727replbq {
margin:4px;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-mlmsg table {
font-size:inherit;font:100%;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-mlmsg select, #ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 input, #ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-mlmsg pre, #ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 code {
font:115% monospace;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-mlmsg * {
line-height:1.22em;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-mlmsg #ygrps-yiv-1277627367yiv4165362727logo {
padding-bottom:10px;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-msg p a {
font-family:Verdana;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-msg p#ygrps-yiv-1277627367yiv4165362727attach-count span {
color:#1E66AE;font-weight:700;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-reco #ygrps-yiv-1277627367yiv4165362727reco-head {
color:#ff7900;font-weight:700;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-reco {
margin-bottom:20px;padding:0px;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-sponsor #ygrps-yiv-1277627367yiv4165362727ov li a {
font-size:130%;text-decoration:none;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-sponsor #ygrps-yiv-1277627367yiv4165362727ov li {
font-size:77%;list-style-type:square;padding:6px 0;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-sponsor #ygrps-yiv-1277627367yiv4165362727ov ul {
margin:0;padding:0 0 0 8px;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-text {
font-family:Georgia;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-text p {
margin:0 0 1em 0;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-text tt {
font-size:120%;}

#ygrps-yiv-1277627367 #ygrps-yiv-1277627367yiv4165362727 #ygrps-yiv-1277627367yiv4165362727ygrp-vital ul li:last-child {
border-right:none !important;}
#ygrps-yiv-1277627367