We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Error using [ ] in formulas

Hello,

Entering a formula, say =getArea("Feca[Basement]"), which is a custom formula in our application throws an error. Replacing the square brackets with regular round brackets avoids the problem. As we're writing a new version of an existing product we would like to maintain existing functionality unaltered. It seems resonable that any character should be permissable within a string literal. Is it possible (by setting some property on the grid, for example) to use [ ] within a formula? Or is this a bug?

Thanks,
Ben

1 Reply

AD Administrator Syncfusion Team July 9, 2007 08:56 AM UTC

This is a defect. The GridFormulaEngine can properly handle the []'s in stings that are not Library Function arguments (but the parsing fails when such strings are in Function Arguments). We will add this problem to our defects database and it should be corrected shortly with the correction appearing in our daily builds within a day or so. If you need a build with the correction before the next release, submit a Direct Trac support incident requesting access to a daily build that has the defect corrected.

Loader.
Live Chat Icon For mobile
Up arrow icon