cancel
Showing results for 
Search instead for 
Did you mean: 

how to check exists formula field by formula field name in report

inthegroove
Explorer
0 Kudos

this is my code.

try
{
rptDoc.DataDefinition.FormulaFields["abc"].Text = "''";
rptDoc.DataDefinition.FormulaFields["def"].Text = "''";
}
catch () {}

Is there a more efficient way to do than by error handling?
thanks.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

On the download WIKI page there is a Parameter test app that has a lot of other features in it. The drop down list box can get all formula fields.

See if anything in there is what you are looking for.

Don

Answers (1)

Answers (1)

inthegroove
Explorer
0 Kudos

thanks for your answer.