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.
Unfortunately, activation email could not send to your email. Please try again.

Error using [ ] in formulas

Thread ID:

Created:

Updated:

Platform:

Replies:

63714 Jul 8,2007 11:18 PM Jul 9,2007 04:56 AM Windows Forms 1
loading
Tags: GridControl
Ben Fraser
Asked On July 8, 2007 11:18 PM

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

Administrator [Syncfusion]
Replied On July 9, 2007 04:56 AM

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.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;