DRW Question

  • Thread starter Thread starter CJ
  • Start date Start date
C

CJ

I want the database results wizard in FP2003 to tell me how many records
match a certain criteria. For example on page
http://www.mymea.co.uk/search.htm I have 3 links to search results pages
that work on Queries built into the Access database.

What I want to do is put in brackets after each link the number of
properties that exist in those categories. I guess I would have to save
search.htm as an ASP file first then try and build in some sort of COUNT
function..? Is this possible?

Many thanks.
 
Hi,
you'd need to make your search page an asp page with a query along the lines
of
select categoryname, count(*) As categorycount
from tablename
group by categoryname

Jon
Microsoft MVP - FP
 
Hi,
you'd need to make your search page an asp page with a query along the lines
of
select categoryname, count(*) As categorycount
from tablename
group by categoryname

Jon
Microsoft MVP - FP

Many thanks. Had problems including 3 custom queries in the same database
results, so ended up going through the wizard 3 times! See
http://www.mymea.co.uk/search.asp

CJ
 

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

Similar Threads


Back
Top