[FX.php List] FMFind with multiple requests

Vinnie P. Taranto vinniept at dso.ufl.edu
Mon Nov 22 20:32:36 MST 2004

ive been up to long as well...thats the life of a coder IMHO ;) Thanks!!


From: fx.php_list-bounces at mail.iviking.org on behalf of FX
Sent: Sun 11/21/2004 11:17 PM
To: FX.php Discussion List
Subject: Re: [FX.php List] FMFind with multiple requests

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 

Michael Layne 
9 degrees development 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4844 bytes
Desc: not available
Url : http://www.iviking.org/pipermail/fx.php_list/attachments/20041122/cc92f1fe/attachment.bin

More information about the FX.php_List mailing list