[FX.php List] Record Count after the fact

Jonathan Schwartz jonathan at eschwartz.com
Thu Feb 15 09:21:20 MST 2007


Hi Folks,

I have a search with multiple criteria where I am using the technique 
previously sugegsted here: do the primary search to FMP and then have 
php loop through the records with a secondary criteria to arrive at 
the final record set.  Those records are then displayed with "for 
each."

The problem I have is reporting the number of records found which 
displays on the page above (before) the display of the records 
themselves.  I don't know the size of the record set until after the 
"for each" loop is finished.

I suppose that I can execute the search on another page and then 
include the results on the display page, complete with record count.

Does that sound right, or is there a better way?

Jonathan



-- 

Jonathan Schwartz
FileMaker 8 Certified  Developer
Associate Member, FileMaker Solutions Alliance
Schwartz & Company
jonathan at eschwartz.com
http://www.eschwartz.com
http://www.exit445.com
415-381-1852



More information about the FX.php_List mailing list