Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 30th, 2005, 01:20 AM
Friend of Wrox
 
Join Date: May 2005
Location: , , .
Posts: 149
Thanks: 0
Thanked 0 Times in 0 Posts
Default record counting

Hi everyone,
I have had a very confusing issue this week.
I have a linkDirectory.When I run it on my localhost it works fine and shows me the number of links of each category for ex. Accomodations(8) but when I upload the files on the webserver and test it the number of links are not displayed and I see accomodations(0)
Does anyone have any idea?
Can the problem be from the server side or the code has issue?
The sql statement looks like this:
rsCat.Source = "SELECT *, (SELECT COUNT (*) FROM LINKS WHERE LINKS.CAT_ID = DIRCATS.CAT_ID AND LINK_APPROVED = 1 AND LINK_EXPIRED >= DATE() ) AS LINK_COUNT FROM DIRCATS ORDER BY CAT_NAME ASC"



Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting amount of record rtr1900 Classic ASP Databases 2 December 1st, 2005 08:08 AM
Counting unique record dlamarche Access 5 March 22nd, 2005 08:51 AM
counting record numbers in a loop sniffer Classic ASP Basics 2 October 21st, 2004 11:49 AM
Counting ?!? hcweb Classic ASP Basics 2 December 8th, 2003 05:08 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.