This is the function:
Function funProdName(pFields) as string
IF (IsNothing(Fields!Name.Value))
Then
Fields!ProductDescription.Value
Else
Fields!Name.Value
end Function
Basically it just replaces a column with the value in another column if
column A is null.
The exact error is:
H:\Visual Studio Projects\Report
Project1\CRM_ServiceContract_with_LineItems.rdl There is an error on line 1
of custom code: [BC30469] Reference to a non-shared member requires an object
reference.
And I have no clue as to what it means.
Thanks in advance....This doesn't work either...
Function funProdName(pFields) as string
Dim ProdName as String
IF (IsNothing(Fields!Name.Value))
Then
Prodname=Fields!ProductDescription.Value
Else
Prodname=Fields!Name.Value
end Function
"Jeff Metcalf" wrote:
> This is the function:
> Function funProdName(pFields) as string
> IF (IsNothing(Fields!Name.Value))
> Then
> Fields!ProductDescription.Value
> Else
> Fields!Name.Value
> end Function
> Basically it just replaces a column with the value in another column if
> column A is null.
> The exact error is:
> H:\Visual Studio Projects\Report
> Project1\CRM_ServiceContract_with_LineItems.rdl There is an error on line 1
> of custom code: [BC30469] Reference to a non-shared member requires an object
> reference.
> And I have no clue as to what it means.
> Thanks in advance....
2012年2月16日星期四
BC30469 Reference to a non-shared member
标签:
bc30469,
database,
fieldsname,
fieldsproductdescription,
function,
funprodname,
isnothing,
member,
microsoft,
mysql,
non-shared,
oracle,
pfields,
reference,
server,
sql,
string,
value
订阅:
博文评论 (Atom)
没有评论:
发表评论