开发者

Crystal report: How to suppress field depending upon next data field change?

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

        _______________________ 

    开发者_JAVA百科    N_______BG8Wx0191765044

        _______________________

Please help.


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.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜