[FX.php List] Hitting a FM Server with a large search request

Gjermund Gusland Thorsen ggt667 at gmail.com
Wed Jan 24 06:58:55 MST 2007


> exist in any of 15 possible fields (an OR search).
>
> I really want to know if there's a better way to do this than:
> $Query->AddDBParam('Field1', 'SearchTerm');
> $Query->AddDBParam('Field2', 'SearchTerm');
> ...
> $Query->AddDBParam('Field15', 'SearchTerm');
> $Query->AddDBParam('-lop', 'or');
> $Results = $Query->FMFind();

This is a good approach, not sure if it's the one most optimized for speed,
but at least it does not include adding a post calculation routine to
the FileMaker part of the  solution.

ggt667


More information about the FX.php_List mailing list