• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 369
  • Last Modified:

not EQ syntax. =) easy/urgent

if i use EQ for equals
what is not equals?

urgent, but easy (i'm still learnign syntax)


<>< kT
0
phileoca
Asked:
phileoca
  • 2
  • 2
1 Solution
 
phileocaAuthor Commented:
BTW, this was my pathetic attempt

<cfif OrderDetailsCheck.RecordCount NE 0>
0
 
PluckaCommented:
Hi phileoca,

It's close

<cfif OrderDetailsCheck.RecordCount neq 0>

EQ =
NEQ <>
LTE <=
GTE >=

Regards
Plucka
0
 
phileocaAuthor Commented:
lol, i just typed that in, but didn't process yet.  Was waiting for some sort of confirmation.

Thanks for the quick lesson!!!

<>< kT
0
 
PluckaCommented:
You can also use the NOT word to prefix items.

<cfif OrderDetailsCheck.RecordCount NOT eq 0>

and you can use is as an equilivent to equals

<cfif OrderDetailsCheck.RecordCount IS NOT 0>

Many ways to skin the cat.

but eq and neq are the most common methods.

Also, you probably already know but

LT <
GT >
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now