Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Hi, I tried using "!=" as the not equal operator for finding records via php pages, however, it doesn't seemed to work. My code is as follows: $findCom = $fm->newFindCommand('a bcLayout'); $c


This topic is 6360 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hi, I tried using "!=" as the not equal operator for finding records via php pages, however, it doesn't seemed to work. My code is as follows:

$findCom = $fm->newFindCommand('abcLayout');

$criterion = "!=" . "testvalue";

$findCom->addFindCriterion("field", $criterion);

$result=$findCom->execute()

All other operators such as "begin with", "contains" etc worked, except "not equal". I have also tried the following but it didn't work either.

$criteron = "omit, ";

Would someone be able to advise? Thanks a lot.

This topic is 6360 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.