FlexReport Bill Details Printing Problem

Posted by: sanjeeb.srjm on 6 January 2022, 11:54 pm EST

    • Post Options:
    • Link

    Posted 6 January 2022, 11:54 pm EST - Updated 3 October 2022, 10:43 pm EST

    Dear Sir/Mam,

    Please have a look on below image:-

    Student Name is properly printing

    But fee details and Month of the same student not printing…

    also find attached sample of the same

    and advise the solution…

    FeeDetailsInBillNotPrinting.zip

    Regards-

    Sanjeeb

  • Posted 10 January 2022, 7:11 am EST

    Hello Sanjeeb,

    As suggested earlier in the support case CAS-27463-S8Y3C4, FlexReport fields do not support multi-level binding. Therefore, if you want to bind the hierarchical data to the FlexReport fields, you need to create a mediator class with flat data and bind it with the report.

    We have modified your attached report implementing the same. Please have a look into it.

    As per your recent post, we can see in your data structure that you have multiple fees for the same student, and you want to show them all in a single card layout that you have, but as per your current layout, it is not possible to display multiple records in a single card. If you are ready to change your layout, please let us know; we will try to create a report layout to achieve the same.

    Note: As the current layout is very complex and it will be complicated to create the whole layout by code, we recommend you use the FlexReportDesigner to create the report layout.

    We will work on the report once you confirm on changing the report layout.

    Regards,

    Prabhat Sharma.

    FeeDetailsInBillNotPrinting.zip

  • Posted 10 January 2022, 11:57 pm EST

    Dear Prabhat Sir,

    Thankx for understanding my core problem.

    Please use the FlexReportDesigner and show us the output we desired…

    We are waiting for your kind help…

    Regards-

    Sanjeeb

  • Posted 12 January 2022, 5:24 am EST

    Hello Sanjeeb,

    Please find the report attached where we have used the Grouping functionality of the FlexReport to achieve your required output. To convert the sum of fees from number to string, we have used a custom method to convert the number to string and assigned it to the respective field in the PrintSection event of FlexReport.

    I hope it helps. You can learn more about FlexReport from the given documentation link:

    https://www.grapecity.com/componentone/docs/win/online-flexreport/overview.html

    Regards,

    Prabhat Sharma.

    StudentReportDemo.zip

  • Posted 13 January 2022, 6:45 am EST

    Dear Prabhat Sir,

    Thankx for the support.

    But the report you attached is single bill in a single page

    which we are again already doing.

    The root problem is that we require at least 6 or 9 bills within a single a4-paper.

    Thus, kindly look into the same and help us.

    Regards-

    Sanjeeb

  • Posted 13 January 2022, 7:12 am EST - Updated 3 October 2022, 10:43 pm EST

    Hello Sanjeeb,

    You can add this report as a SubReport in another report to achieve this requirement. You just need to set the height of the section in which you are adding the subreport accordingly so that it can contain multiple Cards.

    Please find the attached sample and the GIF attached for reference.

    Regards,

    Prabhat Sharma.

    StudentReportDemo_Mod.zip

  • Posted 14 January 2022, 12:23 am EST

    Dear Prabhat Sir,

    Subreports are repeating their data for multiple copies ??

    should not copy any bill of student …

    best example of first horizontally repeating then vertically for label as subreport in crystal report…

    https://www.youtube.com/watch?v=2LeACqtFdA0

    please have a look sir…

    Regards-

    Sanjeeb

  • Posted 14 January 2022, 6:41 am EST

    Hello Sanjeeb,

    Your case has been replied on our private portal on the given link:

    https://www.grapecity.com/my-account/my-support/case/fd0b756a-2475-ec11-8943-0022482f037e

    Please continue the thread there only.

    Regards,

    Prabhat Sharma.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels