[FX.php List] FMFind with multiple requests
Greg Lane
glane at moyergroup.com
Sat Nov 20 22:52:16 MST 2004
From FXFunctions.txt:
3) Searches by default are logical 'and' searches. This means that if
you pass in multiple AddDBParam() statements, the resulting find will
return only those records that match all of the criteria. If you would
instead like to perform a search that returns items that match any of
the criteria specified, you can set a logical 'or' search using the
special '-lop' $name parameter:
$InstanceName->AddDBParam('-lop', 'or');
On Nov 20, 2004, at 11:21 PM, Vinnie P. Taranto wrote:
> I was wondering if there was an equivalent fx.php method to adding a
> request in filemaker for a find. I'm trying to keep track of the new
> records a user creates during a session.
>
> I've tried calling AddDBParam twice with the same field but that
> doesn't seem to work.
>
> $addedQuery->AddDBParam('-recid', '44564');
> $addedQuery->AddDBParam('-recid', '44565');
>
> I could just do a greater than date and time created of the first
> record but i was wondering if there was another way. Thanks
More information about the FX.php_List
mailing list