Counting db results?

  • Thread starter Thread starter matt shudy
  • Start date Start date
M

matt shudy

Hi,

Is there a way to make a custom query to count the records
returned by the db? I have a search results page that
filters out results by month and by year, I want a count
of the records that changes based on what the user chooses.

Thanks,

Matt
 
matt shudy said:
Hi,

Is there a way to make a custom query to count the records
returned by the db? I have a search results page that
filters out results by month and by year, I want a count
of the records that changes based on what the user chooses.

Thanks,

Matt

Perhaps a custom query like:

Select count(*) from myTable
where stuff = ::fieldonForm:: and otherStuff = ::otherFieldonForm::

might work?
 
Back
Top