Skip to Content
avatar image
Former Member

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Mar 13 at 04:48 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 15 at 11:55 PM

    thanks for your answer.

    Add comment
    10|10000 characters needed characters exceeded