Method Community

 

Calculated fields not printing in Report Designer

Last post 05-23-2014 10:15 AM by Method_Russell. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 05-13-2014 3:43 PM

    Calculated fields not printing in Report Designer

    I am not able to get calculated fields to print on a report.  Neither formulas nor the mere placement of a copy of data from an actual column into a calculated field will print.  What am I missing?  Thanks.

  • 05-15-2014 9:27 AM In reply to

    Re: Calculated fields not printing in Report Designer

    Hi Robert,

    There could be an error in your calculated field code (such as a syntax error), which would prevent any value from being displayed. Can you please post the expression you are using in your calculated field? 

    -Russell

  • 05-15-2014 11:04 AM In reply to

    Re: Calculated fields not printing in Report Designer

    I have a linked field in SalesOrderLine to SalesOrder.DueDate and this field is relabeled StartDueDate in the linked Field.  I can see StartDueDate on my reports. If I create a calculated field that is merely a copy of StartDueDate, like [SalesOrderLine.StartDueDate], it will not print.  I eventually need to do date math in calculated fields expressions and display those results but I can't even get DueDate/StartDueDate to print with no formulas at all.    

    Again, my Report Design expression for the calc'ed non-printing field = [SalesOrderLine.StartDueDate].

    It would seem that relabeled linked fields are not accepted in Report Designer calculated field expressions.  

    Thanks.

  • 05-16-2014 8:25 AM In reply to

    Re: Calculated fields not printing in Report Designer

    Hi Robert,

    I've tried reproducing this on my end, however the calculated field referencing the linked field prints sucessfully in the report designer. Can you post a screenshot of the expression in your calculated field? (You can use a free image hosting site such as imgur.com)

    -Russell

  • 05-21-2014 11:22 AM In reply to

    Re: Calculated fields not printing in Report Designer

    Here are the images to the setup and preview.

    setup

    setup

    preview

    preview


  • 05-21-2014 11:26 AM In reply to

    Re: Calculated fields not printing in Report Designer

    and the date format....

    format

  • 05-23-2014 10:15 AM In reply to

    Re: Calculated fields not printing in Report Designer

    Hi Robert,

    Thanks for the screenshots. Can you please try changing your
    expression to [StartDueDate]?

    Unfortunately this is a known bug with the Report Designer, when the
    table is referenced the field isn't displayed. When you open up the
    Expression Editor the table name can be added automatically, so
    remember to delete the table name before saving the Expression Editor.

    Please let me know if this solves the issue.

    -Russell

Page 1 of 1 (7 items)