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

Formula engien.GetValueFromArg

Thread ID:





4849 Jun 4,2003 12:30 PM UTC Jun 4,2003 03:44 PM UTC WinForms 2
Tags: GridControl
Martin Squicciarini
Asked On June 4, 2003 12:30 PM UTC

Hi, I've created a new formua. IF(test, test_true, test_false) The function works fine. I do have a question with the GetValueFromArg function. It does not seem to handle strings correctly. I noticed this in nested callse to IF() such as =IF(A2<>0,IF(B2 <> 0,A2/B2,"hi"),"Bye") The inner IF()will return an "nHI" to the outter IF() and that statement is not evaluated correctly. Is that how the GetValueFromArg works?

Administrator [Syncfusion]
Replied On June 4, 2003 03:01 PM UTC

Currently, the formula engine does not support string functions (and thus, string arguments). If you need this, then you could write your IF function to understand that your arguments are strings, and just return the string and not try to parse it with GetValueFromArg. Or, your IF function could be smart enough to recognize the quotes and only conditionally call GetValueFromArg if the quotes are not present.

Martin Squicciarini
Replied On June 4, 2003 03:44 PM UTC

Clay, Thanks for the suggestion. Sometimes it takes someone else to look at it. Now I can display blanks.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon