Hoppa till huvudinnehållet

Datalink info is not showing in layer-dependent subreport

Kommentarer

7 kommentarer

  • Permanently deleted user
    Hi Chen-Ting,

     

    Have you checked "Enable Data Linking" in your report on the layer?  That's an easy one to forget :)

     

    Thanks!

     

    Danny
    0
  • Permanently deleted user
    Hi Danny,

     

    yes. data linking is checked for the report. We have another site which has a main report with multiple subreports (datalinks using regular select statement and stored procedures) without problems. I was wondering if there's something I should check in site.xml?

     

    Also tried passing parameters to subreport directly (without using workflow or datalink) but can't figure out how to set it up properly. In the subreport, I added a parameter - gloid with default value GlobalID - and set the report data source using gloid to get fields needed. GlobalID is the key I would like to pass from main report to the subreport. Is there a way to link two reports without datalink or workflow?

     

    Thanks,

     

    Chen-Ting
    0
  • Peter Jackson
    Hi,

     

    Was there ever a solution to this problem? I am having exactly the same issue with a Report and Subreport. Data links are working okay and linked data is showing in the Feature Description but the subreport is not showing any linked data at all.

     

    Thanks,

     

    Peter
    0
  • Permanently deleted user
    Hi Peter,

     

    Due to time constraint on the project, we ended up using a SQL report instead. I haven't gone back and revisited the issue since....

     

    Hopefully there's an alternative report you could use?

     

    Chen-Ting
    0
  • Permanently deleted user
    Has anyone else figured out how to include linked data in the feature reports?

     

    Thanks!
    0
  • Andrew Flynn
    I am having the same issue. If I add a "Report Header" to the sub report I can get basic labels to display, but no dynamic data, and all information in the "Page Header" and "Detail" section do not appear. I'm really stumped with this one!
    0
  • Andrew Flynn
    I always know as soon as I post to a forum I find the solution immediately. Here is what I found:

     

    When the Data Link ID matches the name of the table that you are joining the subreport works, if the Data Link ID does not have the same name nothing appears.

     

    My example is I have a table in an sde database named "ENV_ComplianceReportNotes" that I want to add as a data link. When I set the data link ID to "Report_Notes" the subreport would not appear. I created a new data link ID set to "ENV_ComplianceReportNotes" and now everything is working as it is suppose to.

     

    Let me know if you see a similar result. Hope this helps!
    0

Du måste logga in om du vill lämna en kommentar.