cancel
Showing results for 
Search instead for 
Did you mean: 

Suppress a Detail line

Former Member
0 Kudos

Hi,

Very basic, but I'm fogging up on this.

I'm trying to suppress a Detail if it's the same Barcode as the previous line.  Similar to:

global stringvar prevbarcode;

if {awbar_teile.barcode} = prevbarcode

then true

else false;

prevbarcode := {awbar_teile.barcode;

It's saying it wants Boolean.  What am I missing?

Matt

Accepted Solutions (1)

Accepted Solutions (1)

abhilash_kumar
Active Contributor
0 Kudos

Hi Matt,

Does this work:

{Barcode field} = Previous({Barcode field})

-Abhilash

Former Member
0 Kudos

Abhilash,

Like a charm.

Thank you, Abhilash

Former Member
0 Kudos

I'll try it out, but I would assume I should be able to use this in a formula field (in a Detail line) also?

Right now I depend heavily on my code similar to my original post

abhilash_kumar
Active Contributor
0 Kudos

If you're trying to suppress the detail line, use this formula in the 'Suppress' formula of the details section.

-Abhilash

Answers (0)