[FX.php List] empty find requests

Jason H.Awbrey jason at stravinsoft.com
Thu Nov 4 08:37:47 MST 2004


If ( $result['foundCount'] >0) doesn't really work for this situation 
because FileMaker shouldn't be returning anything at all. I would have 
to assume FileMaker were returning something or nothing. In this case 
FileMaker ALWAYS returns something. If I am searching for apples but 
there are no apples in the database, I would much rather see "no 
apples" than a bunch of bananas, kiwi and papaya.

I had been using javaScript validation like Dale mentioned but was 
wondering if anyone had any ideas as to WHY FileMaker acts like this. 
Might be a question for an SE.

Thanks again,
Jason H. Awbrey
StravinSOFT, Incorporated
http://www.stravinsoft.com


On Nov 4, 2004, at 8:02 AM, Dale Bengston wrote:

> I use JavaScript field validation to prevent users from submitting an 
> empty search form.
>
> Dale
> --
> Dale Bengston | Streamline Studio, LLC | 
> dbengston at streamline-studio.com
> Associate Member, FileMaker Solutions Alliance
>
> On Nov 4, 2004, at 12:03 AM, Gjermund Gusland Thorsen wrote:
>
>> I only check if( ['foundCount'] > 0 ) { }
>>
>> Never really looked inside FileMaker to see what that looks like
>>
>> ggt
>>
>> On Wed, 3 Nov 2004 17:44:54 -0600, Jason H. Awbrey
>> <jason at stravinsoft.com> wrote:
>>> Hello all,
>>>
>>> This is more of a general FileMaker web question than a PHP question
>>> but I figured someone here might know the answer. I have noticed that
>>> if I perform a find where the entire form is left blank, FileMaker
>>> returns all records. I would think if the form were empty, the result
>>> would be a 401 error (no records found). If I perform a similar find
>>> within FileMaker,  I get an error stating no records match this
>>> request.
>>>
>>> Is this expected behavior and I'm just missing something or does this
>>> stink of a bug?
>>>
>>> Thanks in advance,
>>> Jason H. Awbrey
>>> StravinSOFT, Incorporated
>>> http://www.stravinsoft.com
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2371 bytes
Desc: not available
Url : http://www.iviking.org/pipermail/fx.php_list/attachments/20041104/a5112a12/smime-0001.bin


More information about the FX.php_List mailing list