Wrox Programmer Forums
|
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
 
Old February 2nd, 2007, 03:01 PM
Authorized User
 
Join Date: Feb 2007
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Wow, I think I am posting the most!
Anyway, got the Order By fixed, now I'm back to the unending load.
Gah!!!! So Close, yet so far.....

Now is the only thing that's real.
 
Old February 2nd, 2007, 03:26 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

' ' are reserved for string literals in SQL, your above syntax is placing a string literal (PlayerName) where you should place a column.

Your query should be:

"SELECT * FROM bigcardtable WHERE Category='GameUsed' ORDER BY PlayerName ASC"

Now a couple of points to make.

I understand that you are a Novice in this arena, and that is ok we were all at that point one time in our careers BUT you should not spam a thread like u just did. Errors happen, logic doesn't work, hey I've been there but you should not come here and spam a thread everytime the exection of your page changes. Try and work through the problem, try different things, RESEARCH!, but dont immedately come to the forum and look for your answer.

Personally, I will not answer people who have obviously not done any research on their problem and just want a 'fix' unfortunately, noone learns anything when someone completes a task for them.

Regarding Dreamweaver. I would suggest using a text editor of some sort (Notepad++ or PSPad) to code your ASP and the reasons for this are 2 fold:
   1. Editors make code ugly and hard to debug.
   2. You will never learn anything using DW. By actually coding in a text editor you force your self to learn syntax, albeit it takes longer "coding by hand".

Anyway, ill get down off my soap box, glad everything is resolved! ^^

================================================== =========
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
 
Old February 3rd, 2007, 12:47 AM
Authorized User
 
Join Date: Feb 2007
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You are right.
I did get a little too excited there. It's just that I was soooo close to getting it. I'm sure you know what it's like.
Anyway, everything about this post is working perfectly. I can't thank you enough for your help.
If I haven't scared anyone away, I am going to open a new post about registration form part of my site.

Now is the only thing that's real.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript Access Database Query panuvin Javascript How-To 28 May 9th, 2008 01:53 PM
Displaying query from three tables slims07 .NET Framework 2.0 8 April 2nd, 2008 10:47 AM
Displaying data from access database [email protected] Classic ASP Basics 1 January 24th, 2006 06:35 PM
displaying the query lanita PHP How-To 6 August 23rd, 2004 11:11 PM
Database access from java, INSERT query problem nitusincog BOOK: Beginning Java 2 1 July 21st, 2003 10:26 AM





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