I have a calculated field that uses SQL, I plan on using this datapage as a child called from a parent that passes in MemberID
When I run the child datapage by itself that uses the select below It does not seem to pass in the parameter entered on the first sceen, I always get the same number , Its like the @field:MemberID value is the last row in the dataset or something.
select sum(b.CCO_Place_Points) from JRRESULTSTABLENEW a join Lookup_Places_2 b on b.CCO_Place_ID = a.CCO_PlaceID where a.MemberID = [@field:MemberID]
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
JRoss
I have a calculated field that uses SQL, I plan on using this datapage as a child called from a parent that passes in MemberID
When I run the child datapage by itself that uses the select below It does not seem to pass in the parameter entered on the first sceen, I always get the same number , Its like the @field:MemberID value is the last row in the dataset or something.
select sum(b.CCO_Place_Points)
from JRRESULTSTABLENEW a
join Lookup_Places_2 b on b.CCO_Place_ID = a.CCO_PlaceID
where a.MemberID = [@field:MemberID]
Thanks,
-John
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.