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

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

Recommended Posts

Posted

Hi, I'm trying to find records with a number field that are greater than or less than 2 numbers, i.e. if I'm looking for the records greater than 115 and less than 120.

$myFind->addFindCriterion('ssvm', '>115');

$myFind->addFindCriterion('ssvm', '<120');
 

do I need

$myFind->setLogicalOperator(FILEMAKER_FIND_AND);   or am I way off base?

 

Thanks for your advice!

Posted

Out of habit, I create the variable outside the actual request and then use it

$startNum = "115";

$endNum = "120";

$range = $startNum."...".$endNum;

addFindCriterion('ssvm', $range);

This topic is 3297 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.