Question

How to suppress field depending upon next data field change?

I have datas (two colomns of a table) which is something like as below:

  SubItemcode___________IsLock

    SODBPCFBX01601G_______N

    SODBPCFBX01601G_______N

    SODRWFIMX01G017_______N

    SODRWFIMX01G017_______N 

    BG8Wx0191765044_______N

    BG8Wx0191765044_______N

to appeare on report as:

 IsLock________SubItemcode

    N_______SODBPCFBX01601G

    N_______SODBPCFBX01601G

    N_______SODRWFIMX01G017

    N_______SODRWFIMX01G017 

    N_______BG8Wx0191765044

    N_______BG8Wx0191765044

In report I set SubItemcode to suppress on dublication and same as for IsLock.

On which I get following output in report:

   IsLock________SubItemcode

        N_______SODBPCFBX01601G

        _______________________

        ________SODRWFIMX01G017

        _______________________ 

        ________BG8Wx0191765044

        _______________________

I want it like as below:

    IsLock________SubItemcode

        N_______SODBPCFBX01601G

        _______________________

        N_______SODRWFIMX01G017

        _______________________ 

        N_______BG8Wx0191765044

        _______________________

Please help.

Was it helpful?

Solution

Right now, you are suppressing individual fields if the data in that field is duplicated. What you want to do is group your data.

  1. Goto Report->Group Expert
  2. Add the grouping field (in this case, probably subitemcode)
  3. Move IsLock and SubItemCode to the Group Header section.
  4. Right-Click->Section Expert to suppress the Details and Group Footer sections.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top