[FX.php List] Stupid Find Question

Marisa Smith marisa at datasmithconsulting.net
Sun Dec 19 06:19:58 MST 2004


Hi Gjermund-

When I tried this, I just got the records with unitid 15 instead (2
records).  I should see 12 records.

Thanks for trying.  Anyone else have thoughts?

marisa


On 12/19/2004 4:57 AM, "Gjermund Gusland Thorsen" <ggt667 at gmail.com> wrote:

> I'm not sure if this works with Find, but it works with relationships:
> 
> $searchID[]=15;
> $searchID[]=20;
> 
> $AAHRPPDocQuery->AddDBParam( 'unitid', implode( "\n", $searchID ) );
> 
> ggt
> 
> On Sat, 18 Dec 2004 23:19:51 -0500, Marisa Smith
> <marisa at datasmithconsulting.net> wrote:
>> 
>> OK, I KNOW I should know how to do this, but I can't figure it out
>> 
>> I need to find all records whose unitid=15  OR  whose
>> unitid=20
>> 
>> In Filemaker client, I can do this with a 'new request', but I don't know
>> the equivalent in XML.  I tried this:
>> 
>>     $AAHRPPDocQuery->AddDBParam("unitid","15");
>>     $AAHRPPDocQuery->AddDBParam("-lop","or");
>>     $AAHRPPDocQuery->AddDBParam("unitid","20");
>> 
>> But I end up with an error 401.
>> 
>> What am I missing here?  Or am I trying to do the impossible?
>> 
>> Thanks!
>> Marisa
>> ---------------------------------------------------------------------
>> Marisa Smith, President
>> DataSmith Consulting, LLC
>> 667 Kuehnle Street
>> Ann Arbor, MI 48103
>> Phone & Fax: (734) 369-3001
>> Cell: (734) 834-2638
>> http://www.datasmithconsulting.net
>> Filemaker Solutions Alliance Associate Member
>> 
>> _______________________________________________
>> 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

---------------------------------------------------------------------
Marisa Smith, President
DataSmith Consulting, LLC
667 Kuehnle Street
Ann Arbor, MI 48103
Phone & Fax: (734) 369-3001
Cell: (734) 834-2638
http://www.datasmithconsulting.net
Filemaker Solutions Alliance Associate Member




More information about the FX.php_List mailing list