Hi,
I am trying to exec function to refer another datascope. I have a list 'list1' which is bound to sqlDataSource1 and another list in this list 'list2' which is bound to sqlDataSource2, I am trying to refer to a field in datascope of list1 using exec but it is complaining invalid scope list1.
the exec function is used to display the value in the textbox:
=CDbl(Exec("list1", Sum(Fields.Id)))
I am also wondering if i can just refer to Fields.Id, which is what I actually need but for now i am just trying to get the exec function work with typical aggregate function.
Please help, Thank you
I am trying to exec function to refer another datascope. I have a list 'list1' which is bound to sqlDataSource1 and another list in this list 'list2' which is bound to sqlDataSource2, I am trying to refer to a field in datascope of list1 using exec but it is complaining invalid scope list1.
the exec function is used to display the value in the textbox:
=CDbl(Exec("list1", Sum(Fields.Id)))
I am also wondering if i can just refer to Fields.Id, which is what I actually need but for now i am just trying to get the exec function work with typical aggregate function.
Please help, Thank you