Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3180

Looking for a formula on a report

$
0
0

Hi,

 

I have the following formula  @sqft:

 

global stringvar etikettnr8;

numberVar sqft8 := 0;

 

 

if   {awbar_teile.etikettnr} = etikettnr8

then sqft8  := 0

else sqft8  := {pool_teile.breite}/304800 * {pool_teile.hoehe}/304800;

etikettnr8  := {awbar_teile.etikettnr};

sqft8;

 

It's on the detail line.

 

I have Summaries at Groups 1,2,3

 

It doesn't work consistantly, sometimes it 0's, sometimes not.  I can hit <F5><Enter>, and watch the total summary jump around.  The variables do not exist anywhere else in the report.

 

So, when I add WhilePrintinRecords, I get an error:

 

A summary has been specified on a non-recurring field.  Details: @sqft

 

i don't understand what this is telling me, noe do I understand how a field on a detail line could be non-recurring.


Viewing all articles
Browse latest Browse all 3180

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>