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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

AND function

Thread ID:





27541 Apr 14,2005 03:22 AM UTC Apr 15,2005 04:12 AM UTC WinForms 2
Tags: GridControl
Asked On April 14, 2005 03:22 AM UTC

HI, I try to pass use AND function like AND(a,b) -- where a and b are arbitary values. The retun value is ''bad index''. How Can i get null value or zero in this case. MALLIK

Administrator [Syncfusion]
Replied On April 14, 2005 11:05 AM UTC

What do you mean by arbitrary values? What did you try to enter? In our C:\Program Files\Syncfusion\Essential Studio\\Windows\Grid.Windows\Samples\In Depth\FormulaValueTest sample, you can type ,Code> =And(1,0) in a cell and get a result or false. You can also type =and(A3=A4, A4=A5) and get the proper value. Exactly what are you trying to place in the argument list. The argument should be 1 or more well-formed expressions. If one of teh expressions in the list is a numerical expression, then if the value is exactly zero, it is treated as a false for teh AND, and if it is non-zero it is treated as a true.

Replied On April 15, 2005 04:12 AM UTC

The way you suggested is working fine.


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