[FX.php List] no more error "missmatched tag at line 118", new problem

Jordan Sandford jordan at interiordesignweb.com
Thu Jan 13 12:27:21 MST 2005


OK... here's the latest

This input
$FM->SetDBData('IDWweb.fp7', 'invoices', 'All');
...
$ReturnedData = $FM->FMFindAll();

Gives me foundCount = 0, but no error.

If I change 'All' to 50, that is $FM->SetDBData('IDWweb.fp7', 
'invoices', 50);
and keep
$ReturnedData = $FM->FMFindAll();

I get an fx_error object code: 100, Message:  FX: ExecuteQuery XML 
error: no element found at line 1

Changing the 50 to 10 gives me real data!!! It give me 10 records.

If I change $FM->FMFindAll(); to $FM->FMFind();
and add the line
$FM->AddDBParam('JobNum', 30072);
right before the FMFind() call

That is
$FM->SetDBData('IDWweb.fp7', 'invoices',10);
$FM->SetDBUserPass($DBUser , $DBPassword);
$FM->AddDBParam('JobNum', 30072);
$ReturnedData = $FM->FMFind();

I don't get an FX error, but I get a FileMaker error of 401, "Record 
not found". FX says my foundCount is -1.
This seems really weird to me. What do you all think?

-Jordan



More information about the FX.php_List mailing list