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.
- Goto Report->Group Expert
- Add the grouping field (in this case, probably
subitemcode
) - Move
IsLock
andSubItemCode
to the Group Header section. - Right-Click->Section Expert to suppress the Details and Group Footer sections.
精彩评论