troubleshooting Question

Reporting Services Binding Related Object Fields

Avatar of EdwardAF
EdwardAFFlag for United States of America asked on
SSRSDB Reporting ToolsMicrosoft SQL Server
4 Comments2 Solutions669 ViewsLast Modified:
After upgrading my SSRS reports in VS2010, several of the expression fields are now broken.  For instance, using a data set of OrderItem, which contains standard order lines, I can access the fields directly represented by that object (the object structure was built using LINQ).  

However, related data cannot be so easily accessed.  Consider a inventory object contained-in the order line (related-to in the underlying database).  The inventory object is called OrderItemType, and I want to print out the description on each order line.  Sounds easy enough...

Before upgrading the following expression did in fact report the description from the related data:

=Fields!OrderItemType.Value.Description

However, now the "Description" portion is red-lined in the Expression editor, and when I run the report, it shows only "#VALUE" in the description field.

So what gives?  Did something change after the report upgrade that now requires a different syntax?  How can I once again print the description from the related table?
=Fields!OrderItemType.Value.Description

Open in new window

ASKER CERTIFIED SOLUTION
EdwardAF

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros