[FX.php List] FMFind with multiple requests
FX
fx at 9degrees.com
Sun Nov 21 21:17:26 MST 2004
I've been up too long. Greg Lane is absolutely right. I typed 'and'
instead of 'or' my mistake. I can confirm that this works...
On Nov 21, 2004, at 12:52 AM, Greg Lane wrote:
> 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
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
_________________
Michael Layne
9 degrees development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1520 bytes
Desc: not available
Url : http://www.iviking.org/pipermail/fx.php_list/attachments/20041121/5d146334/attachment.bin
More information about the FX.php_List
mailing list