CSReportDll.cReportFormula.getSectionName C# (CSharp) Method

getSectionName() public method

public getSectionName ( ) : String
return String
        public String getSectionName()
        {
            return m_sectionName;
        }

Usage Example

コード例 #1
0
        public void evalFunction(cReportFormula formula)
        {
            String codeC = "";

            m_objGlobals.setMode(eReportCompilerMode.C_EVAL);

            pEvalGroupFunctions(formula);

            cReportError.gDebugSection = formula.getSectionName();
            cReportError.gDebugSectionLine = formula.getSectionLineIndex();
            cReportError.gDebugControl = formula.getControlName();

            m_formula = formula;

            pCompile(formula.getText(), false, codeC);

            if (formula.getFormulasInt().count() > 0)
            {
                if (G.isNumeric(codeC))
                {
                    pEvalSyntax("", codeC, false, formula);
                }
                else
                {
                    if (cUtil.subString(codeC.Trim(), 0, 8).ToLower() == "function")
                    {
                        pEvalSyntax("", codeC, false, formula);
                    }
                }
            }
            else
            {
                pEvalSyntax("", codeC, false, formula);
            }
            m_formula = null;
        }