September 11, 2010  
Register   Login  
Forum  
 
ForumForumEnesys RS Data ...Enesys RS Data ...Support - RS Da...Support - RS Da...Parameters (Forward Depencencies) ErrorParameters (Forward Depencencies) Error
Previous Previous
 
Next Next
New Post
 5/6/2009 4:56 AM
 

 

 

The following work in the Enesys SharePoint Query Builder but not in Visual Studio 2005, I receive this error:

[rsInvalidReportParameterDependency] The report parameter ReportTrack has a DefaultValue or a ValidValue that depends on the report parameter ReportTrack. Forward dependencies are not valid.

<?xml version="1.0" encoding="utf-8"?>
<root xmlns="http://enesyssoftware.com/schemas">
  <queryName></queryName>
  <description></description>
  <list title="Review Comments" relativeSiteUrl="/ipoms/pakistan/" tableName="Review Comments">
    <fields>Track,Lesson,Document_x0020_Type,Page_x0020_or_x0020_Slide_x0020_,Origin,Comment,Customer_x0020_Priority,Contractor_x0020_Comment,Commnet_x0020_Action,ReportTrack,Comment_x0020_Category,Status</fields>
    <query></query>
  </list>
  <sqlQuery tableName="TrackReport">
    SELECT *
    FROM [Review Comments]
    WHERE ReportTrack  = (@ReportTrack!)
  </sqlQuery>
  <resultSet>TrackReport</resultSet>
</root>

 

 *****The ReportTrack column is a calculated column (string)

 

 

New Post
 5/6/2009 9:11 AM
 

Hi bburke,

Can you give us a screenshot of your parameter's properties? I'm interested to see what's in the "Available values" and "Default values" parts. From the error, it looks like your parameter is dependent of itself.

Thank you,

Regards,
Marien MONNIER
Enesys

New Post
 5/7/2009 2:18 AM
 

 

 Thanks......

New Post
 5/7/2009 2:55 AM
 

Thanks Marien,

I followed your instructions from this post http://www.enesyssoftware.com/Forum/tabid/53/forumid/2/threadid/1051/scope/posts/language/en-US/Default.aspx , it helped make it clear to me.

My remaining issue is that the drop down shows the same value multiple times:

example
Blue
Blue
Blue
Red
Red
Green
Green

I would like to show only one of each value. Can you help me?

New Post
 5/7/2009 7:08 AM
 
 Modified By Marien Monnier  on 5/7/2009 7:10:39 AM

Hi Bill,

If you want to have only distinct items, you have to add a sqlQuery statement to your first dataset from which you get the values to put in the drop down list:

<sqlQuery tableName="sqlQuery1">
  SELECT DISTINCT [ReportTrack]
  FROM [Pakistan Review Comments]
</sqlQuery>

I used the data from what you gave in the other thread, you have to change "ReportTrack" by your column name and "Pakistant Review Comments" by your list's tableName if they are different.

If you use a resultSet statement, don't forget to change its value to the sqlQuery's tableName.

Hope this help,


Regards,
Marien MONNIER
Enesys

New Post
 5/7/2009 2:59 PM
 

Works great, Thanks for your support.

Bill

Previous Previous
 
Next Next
ForumForumEnesys RS Data ...Enesys RS Data ...Support - RS Da...Support - RS Da...Parameters (Forward Depencencies) ErrorParameters (Forward Depencencies) Error

 
You need to login for posting to the forums.
If you don't have a login, click here to register.
You need to login for posting to the forums.
If you don't have a login, click here to register.
 
Copyright 2010 Enesys - All rights reserved Terms Of UsePrivacy Statement