[FX.php List] Finding several recids

Log-Out log-out at yacobi.com
Thu Sep 7 05:23:16 MDT 2006


The user uses a form to find records with several criteria. Each found 
record has a checkbox and the user can select some of them for 
exporting. I use the -recid to know which records the user want to export.

Log-Out

Gjermund Gusland Thorsen escribió:
> Through XML those 3 are 3 different queries.
>
> What is the purpose of this task?
>
> ggt667
>
> On 9/6/06, Log-Out <log-out at yacobi.com> wrote:
>> 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
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list