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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top