Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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"

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 09:08 PM.


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