Referenceing different datasets in same report

Last Post 26 Jul 2004 10:49 AM by xfonhe. 1 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
bryanmurtha
New Member
New Member

--
24 Jul 2004 02:01 PM
I am trying to create a report that runs four queries.
If I use:
=(Fields!LongValueName.Value, "MTReg") I get:
c:\documents and settings\me\my documents\visual studio projects\registrations\regVsAct.rdl The value expression for the textbox ‘LongValueName’ contains an error: [BC30198] ')' expected.

If I change it to =(Fields!MTReg.LongValueName.Value)

I get this:
c:\documents and settings\me\my documents\visual studio projects\registrations\regVsAct.rdl The value expression for the textbox ‘LongValueName’ refers to the field ‘MTReg’. Report item expressions can only refer to fields within the current data set scope or, if inside an aggregate, the specified data set scope.

Is this possible or am I just messing up the syntax?
xfonhe
New Member
New Member

--
26 Jul 2004 10:49 AM
It looks like you're using the data value correctly in your expression, problem probably lies in where you're using it. You cannot use a field in an aggregation/grouping from a data set other than the dataset attached to the data region.

You are not authorized to post a reply.

Acceptable Use Policy