Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Forward Dependencies are not valid.


Forward Dependencies are not valid.

Author
Message
giontech
giontech
SSC Rookie
SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)

Group: General Forum Members
Points: 44 Visits: 130
Thanks
jjafer
jjafer
Grasshopper
Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)

Group: General Forum Members
Points: 20 Visits: 21
changing order from Report Parameters... did not work for me. any thoughts?
Cameron Mayfield
Cameron Mayfield
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 55
I was modifying a report that needed to behave just like yours when I ran into this error. I switched the order of the parameters and everything worked correctly. Thank you very much for this tip.
maxedout420
maxedout420
Grasshopper
Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)

Group: General Forum Members
Points: 12 Visits: 34
Hello
I am having the exact same issuse and changing the order is not helping me...

Summary of the problem:

SELECT a,b,c,, getdate() -90 AS defaultstartdate, getdate()-60 AS defaultenddate
FROM x,y,z
WHERE x.date BETWEEN @startdate AND @enddate


@startdate and @enddate are setup as date/time with defualt values of defaultstartdate and defaultenddate respectively....

I am getting the "Forward dependencies are not valid." errors...

PLEASE HELP!!!

Thanks
MAX
Michelle Burke
Michelle Burke
SSC-Enthusiastic
SSC-Enthusiastic (145 reputation)SSC-Enthusiastic (145 reputation)SSC-Enthusiastic (145 reputation)SSC-Enthusiastic (145 reputation)SSC-Enthusiastic (145 reputation)SSC-Enthusiastic (145 reputation)SSC-Enthusiastic (145 reputation)SSC-Enthusiastic (145 reputation)

Group: General Forum Members
Points: 145 Visits: 467
defaultstartdate and defaultenddate need to be calculated in a separate data set from your report data set. What you have defined in your query is that the parameters you want to filter the result set on are dependant on what the result set returns. See the circle there?
DBABC
DBABC
SSC Veteran
SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)

Group: General Forum Members
Points: 249 Visits: 482
maxedout420 (8/21/2009)

@startdate and @enddate are setup as date/time with defualt values of defaultstartdate and defaultenddate respectively....


use Non-Queried default values with following values for Start and End dates respectively.
=DateAdd("d", -90, Today)
=DateAdd("d", -60, Today)
maxedout420
maxedout420
Grasshopper
Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)

Group: General Forum Members
Points: 12 Visits: 34
Sorry... Forgot to update the forum..

Thats exactly what I did and it worked!!

Max
pamela.bertano
pamela.bertano
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 0
I was stuck with the very same issue and I thought I had to throw it all away when I read this topic, and it worked for me as well!!! THANK YOU!
AlittleOverTheTop
AlittleOverTheTop
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: General Forum Members
Points: 2 Visits: 4
I am having the same problem I think but I only have one parameters.

The dataset is populated with the following sql:
SELECT *
FROM Course_Lesson
WHERE Course_System_ID= @Course_System_ID


The @Course_System_ID parameters is pointing to =Parameters!course_system_ID.Value

Parameters!course_system_ID.Value is a reportParameter with its available values property set to a dataset being populated by this sql:
SELECT * FROM COURSE

When I run the query my values don't show up. When I try to deploy the query I get an error:
c:\documents and settings\petteysk\my documents\visual studio projects\report project6\report project6\On-Demand Attendance Report (by User) TestReport.rdl The report parameter ‘LessonTitle’ has a DefaultValue or a ValidValue that depends on the report parameter “course_system_ID”. Forward dependencies are not valid.

Any Ideas?
lcl74
lcl74
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 16
I am so glad I found your post. That solved my problem. Thank you so much!
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search