As per the subject title - I need to refer to a dataset value in a custom code function. In a textbox, this would look like:
=Sum(Fields!BeerMATVar.Value, "KPIs")
Can't seem to find the syntax for doing this in code though. I could pass through as an argument I'm sure but there's about 30 bits of data to check and there must be a btter way than passing them all through as arguments.....
Rgds, Geoff
We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.
Please read FAQ222-2244 before you ask a question
=Sum(Fields!BeerMATVar.Value, "KPIs")
Can't seem to find the syntax for doing this in code though. I could pass through as an argument I'm sure but there's about 30 bits of data to check and there must be a btter way than passing them all through as arguments.....
Rgds, Geoff
We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.
Please read FAQ222-2244 before you ask a question