Unable to use field calculation passed back to main report from subreport

Posted by: purtle on 4 August 2017, 3:22 pm EST

  • Posted 4 August 2017, 3:22 pm EST

    Hi,

    This may sound like a simple task, and I'm sure its one I've done before but when passing a value from a subreport to a main report it is not letting me use the field in a calculation:

    Subreport code:

    magxobj.objParentReport.ucr.text = rpt.subfield.text


    Main report:

    rpt.FreeStockCalc.text = rpt.Field17.Text - rpt.ucr.Text



    but even through the correct value is printing for rpt.ucr.Text
    when I do a message box to screen it is showing the value as 0.

    I'm wondering if anyone can hel ????
  • Replied 4 August 2017, 3:22 pm EST

    purtle,

    Sorry for the delay in replying to you. Can you please send in a small sample application which replicates this issue so that we can take a look as to what might be causing this problem?

    Regards,
    Sankalp
Need extra support?

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

Learn More

Forum Channels