[FX.php List] Finding several recids

Log-Out log-out at yacobi.com
Wed Sep 6 02:16:36 MDT 2006


This was only an example, in fact I do a previous search to find these 
recids.

The example doesn't work (FM only find the las -recid), but I found the 
solution: I created a calculation field (named "recid") that shows the 
-recid of the record. Then I use this code:

$someFind->AddDBParam('-lop', 'or');
$someFind->AddDBParam('recid', '123', 'eq');
$someFind->AddDBParam('recid', '256', 'eq');
$someFind->AddDBParam('recid', '335', 'eq');

and FM finds exactly these three records.

Thanks.

Gjermund Gusland Thorsen escribió:
> So you are attempting to find a set of recids,
> but where do you find that set?
>
> ggt
>
> On 9/5/06, Log-Out <log-out at yacobi.com> wrote:
>> Hello, I'm traying to find several records using the recids:
>>
>> $someFind->AddDBParam('-recid', '123');
>> $someFind->AddDBParam('-recid', '256');
>> $someFind->AddDBParam('-recid', '335');
>>
>> But I'm only receive one record (with recid '335'). What's the correct
>> code to find these records?
>>
>> Thanks.
>>
>> Log-Out
>> Madrid-Spain 



More information about the FX.php_List mailing list