Does anyone know where I can get a list of conditions (=, <>, Like is all I know)?
Thanks
Printable View
Does anyone know where I can get a list of conditions (=, <>, Like is all I know)?
Thanks
A simple Google search gave me
http://msdn2.microsoft.com/en-us/library/cey92b0t.aspx
Operators and their precedence
Arithmetic
^ exponentiation
- negation
*, / multiplication and division
\ integer division
Mod modulus arithmetic
+, - addition and subtraction
&, + String concatenation
Comparison
= equals
<> not equals
< less than
> greater than
<= less than or equal to
>= greater than or equal to
Like a pattern matching operator
Is an object type comparer
Logical
Not not
And and
Or or
Xor exclusive or
Eqv equivalence
Imp implication
i have a text box field name txt_login.
within an if statement i want to put something like only if txt_login is not equal to nothing.
i tried
txt_login.text <> ""
but it doesn't seem to like it. Any suggestions why.
That should work as long as txt_login is not part of a control array, and, of course, you have the If and a Then.