This sounds like you referenced a field from textbox without placing it
inside of an aggregate function. In this particular case the textbox is not
a member of a data region.
You can only place field expression in these type of textboxes when they are
contained in an aggregate function (common ones are First() and Count()).
Additionally the aggregate function call should specify the dataset.
What I think you placed inside of the textbox:
=Fields!SomeFieldName.Value. When this report is built or previewed the
following error is raised:
The value expression for the textbox 'Region' contains an error: The
expression referenced a non-existing field in the fields collection.
A sample solution: =First(Fields!SomeFieldName.Value, "DataSetName")
--
Bruce Johnson [MSFT]
Microsoft SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
[quoted text, click to view] "Ponnurangam" <ponnurangam@trellisys.net> wrote in message
news:%23GiD9vhqEHA.3244@tk2msftngp13.phx.gbl...
> Hi,
>
> I have two datasets im my report
>
> I am trying to connect one of the field of a dataset to a textbox value, I
> get the following error:
>
> The expression referenced a non-existing field in the fields collection
>
> Any help is appreciated
>
>